Skip to content

Commit

Permalink
All STX opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shachar committed Sep 12, 2023
1 parent 57225f7 commit d65a36d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions c6502.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ void c6502::handleInstruction() {
case 0x7e: op_ror( addrmode_abs_x(true) ); break;
case 0x81: op_sta( addrmode_zp_x_ind() ); break;
case 0x85: op_sta( addrmode_zp() ); break;
case 0x86: op_stx( addrmode_zp() ); break;
case 0x88: op_dey( addrmode_implicit() ); break;
case 0x89: op_bit( addrmode_immediate() ); break;
case 0x8a: op_txa( addrmode_implicit() ); break;
Expand All @@ -134,6 +135,7 @@ void c6502::handleInstruction() {
case 0x91: op_sta( addrmode_zp_ind_y(true) ); break;
case 0x92: op_sta( addrmode_zp_ind() ); break;
case 0x95: op_sta( addrmode_zp_x() ); break;
case 0x96: op_stx( addrmode_zp_y() ); break;
case 0x98: op_tya( addrmode_implicit() ); break;
case 0x99: op_sta( addrmode_abs_y(true) ); break;
case 0x9a: op_txs( addrmode_implicit() ); break;
Expand Down

0 comments on commit d65a36d

Please sign in to comment.