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 Indexed, X Addressing

From SnesLab
Revision as of 14:37, 8 August 2024 by Xetheria (talk | contribs) (→‎References: hid archive URL)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Direct Page Indexed X, Addressing is supported by:

  • ADC (opcode 75)
  • AND (opcode 35)
  • ASL (opcode 16)
  • BIT (opcode 34)
  • CMP (opcode D5)
  • DEC (opcode D6)
  • EOR (opcode 55)
  • INC (opcode F6)
  • LDA (opcode B5)
  • LDY (opcode B4)
  • LSR (opcode 56)
  • ORA (opcode 15)
  • ROL (opcode 36)
  • ROR (opcode 76)
  • SBC (opcode F5)
  • STA (opcode 95)
  • STY (opcode 94)
  • STZ (opcode 74)

The effective addresses generated by it are always in bank 0.[3]

Syntax

LDA dp, X

See Also

References

  1. Eyes & Lichty, page 390
  2. section 3.5.11 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
  3. lbid, section 3.3