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

Program Counter Relative Addressing: Difference between revisions

From SnesLab
Jump to: navigation, search
(opcode 70)
(→‎Reference: added ref to datasheet)
Line 18: Line 18:
=== Reference ===
=== Reference ===
* [[Eyes & Lichty]] page 399, https://archive.org/details/0893037893ProgrammingThe65816/page/n425
* [[Eyes & Lichty]] page 399, https://archive.org/details/0893037893ProgrammingThe65816/page/n425
* section 3.5.21 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf


[[Category:ASM]]
[[Category:ASM]]
[[Category:Addressing Modes]]
[[Category:Addressing Modes]]
[[Category:Inherited from 6502]]
[[Category:Inherited from 6502]]

Revision as of 16:35, 27 June 2024

Program Counter Relative Addressing is supported by nine instructions:

  • BCC (opcode 90)
  • BCS (opcode B0)
  • BEQ (opcode F0)
  • BMI (opcode 30)
  • BNE (opcode D0)
  • BPL (opcode 10)
  • BRA (opcode 80)
  • BVC (opcode 50)
  • BVS (opcode 70)

All of which are two bytes long.

See Also

Reference