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

LJMP (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(Category:Instructions with Delay Slots)
(delay slot)
Line 42: Line 42:


The operand can be any register from R<sub>8</sub> to R<sub>13</sup>.
The operand can be any register from R<sub>8</sub> to R<sub>13</sup>.
The instruction following LJMP is already in the pipeline (the delay slot) and will be executed before the first instruction at the jump target.


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

Revision as of 21:13, 2 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
3D9n 2 bytes 6 cycles 6 cycles 2 cycle
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . . . .

LJMP (Long Jump) is a Super FX instruction that performs a (possibly interbank) jump.

According to fullsnes, the official documentation has the bank and offs operands for LJMP mixed up. [2]

The operand can be any register from R8 to R13.

The instruction following LJMP is already in the pipeline (the delay slot) and will be executed before the first instruction at the jump target.

See Also

External Links

  1. Official Nintendo documentation on LJMP: 9.49 on Page 2-9-69 of Book II
  2. https://problemkaputt.de/fullsnes.htm#snescartgsuncpumisc