Skip to content

Commit

Permalink
ST0 ST1 ST2 opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jul 2, 2024
1 parent e8d2f69 commit a751ad8
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/huc6280_opcodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ void HuC6280::OPCode0x02()
void HuC6280::OPCode0x03()
{
// TODO
// ST1 #nn
UnofficialOPCode();
// ST0 #nn
u8 nn = Fetch8();
Debug("ST0 %02X", nn);
}

void HuC6280::OPCode0x04()
Expand Down Expand Up @@ -157,9 +158,10 @@ void HuC6280::OPCode0x12()

void HuC6280::OPCode0x13()
{
// UNOFFICIAL
// SLO ($n),Y
UnofficialOPCode();
// TODO
// ST1 #nn
u8 nn = Fetch8();
Debug("ST1 %02X", nn);
}

void HuC6280::OPCode0x14()
Expand Down Expand Up @@ -271,9 +273,10 @@ void HuC6280::OPCode0x22()

void HuC6280::OPCode0x23()
{
// UNOFFICIAL
// RLA $(nn,X)
UnofficialOPCode();
// TODO
// ST2 #nn
u8 nn = Fetch8();
Debug("ST2 %02X", nn);
}

void HuC6280::OPCode0x24()
Expand Down

0 comments on commit a751ad8

Please sign in to comment.