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

BRA (Super FX)

From SnesLab
Revision as of 00:37, 17 July 2024 by Xetheria (talk | contribs) (→‎External Links: lowercase p)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
Program Counter Relative 05?? 2 bytes 6 cycles 6 cycles 2 cycles
Flags Affected
B ALT1 ALT2 O/V S CY Z
. . . . . . .

BRA (Branch) is a Super FX instruction that performs an unconditional jump. A relative offset of -128 to 127 bytes from the address following the BRA instruction is added into R15 (the program counter).

No flags are affected.

The instruction after BRA is already in the pipeline and will be run before the instruction at the branch destination.

Syntax

BRA e

Example

This instruction jumps the program backward in an infinite loop:

 BRA $0h

See Also

External Links