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, Y Addressing

From SnesLab
Revision as of 19:14, 12 July 2024 by Xetheria (talk | contribs) (added syntax)
Jump to: navigation, search

Direct Page Indexed Y, Addressing is supported by two instructions:

  • LDX (opcode B6)
  • STX (opcode 96)

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

Syntax

LDX dp, Y
STX dp, Y

See Also

References

  1. Eyes & Lichty page 391, https://archive.org/details/0893037893ProgrammingThe65816/page/391
  2. section 3.5.12 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
  3. lbid, section 3.3