Skip to content

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvic-dev committed May 3, 2024
1 parent 60256eb commit ec06308
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/opcodes/load.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ OPCODE(ldy) {
cpu->y = cpu->fetchByteWithMode(mode);
cpu->evaluateFlags(cpu->y);
}

OPCODE(sax) { // Undocumented.
cpu->bus->write(cpu->fetchEffectiveModeValue(mode), cpu->a & cpu->x);
}

OPCODE(sta) { cpu->bus->write(cpu->fetchEffectiveModeValue(mode), cpu->a); }
OPCODE(stx) { cpu->bus->write(cpu->fetchEffectiveModeValue(mode), cpu->x); }
OPCODE(sty) { cpu->bus->write(cpu->fetchEffectiveModeValue(mode), cpu->y); }

0 comments on commit ec06308

Please sign in to comment.