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
(→‎Reference: added ref to datasheet)
(added syntax)
Line 12: Line 12:


All of which are two bytes long.
All of which are two bytes long.
==== Syntax ====
<pre>
BRA label
</pre>


=== See Also ===
=== See Also ===

Revision as of 18:56, 12 July 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.

Syntax

BRA label

See Also

Reference