We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Direct Page Immediate

From SnesLab
Jump to: navigation, search

Some SPC700 opcodes use both Direct Page and Immediate addressing.

As it appears in assembler source, the left operand is an index into the direct page, and the right operand is an immediate value.

The following opcodes support direct page immediate addressing:

  • ADC (opcode 98h)
  • AND (opcode 38h)
  • SBC (opcode B8h)
  • OR (opcode 18h)
  • EOR (opcode 58h)
  • CMP (opcode 78h)
  • MOV (opcode 8Fh)