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
(→‎References: hid archive URL)
(2 byte Instructions)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''LJMP''' 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]
{| class="wikitable" style="float:right;clear:right;width:40%"
{| class="wikitable" style="float:right;clear:right;width:40%"
!colspan="8"|Basic Info
!colspan="8"|Basic Info
Line 20: Line 16:


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="9"|Flags Clobbered
!colspan="9"|Flags Affected
|+
|+
|B
|B
|ALT1
|[[ALT1]]
|ALT2
|[[ALT2]]
|O/V
|[[O/V]]
|S
|S
|CY
|[[CY]]
|Z
|Z
|+
|+
Line 38: Line 34:
|.
|.
|}
|}
'''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. <sup>[2]</sup>
=== See Also ===
* [[JMP (Super FX)]]
* [[JMP]]


=== External Links ===
=== External Links ===
* Official Nintendo documentation on LJMP: [https://archive.org/details/SNESDevManual/book2/page/n225 Page 2-9-69 of Book II]
# Official Nintendo documentation on LJMP: [https://archive.org/details/SNESDevManual/book2/page/n225 Page 2-9-69 of Book II]
* [2] https://problemkaputt.de/fullsnes.htm#snescartgsuncpumisc
# https://problemkaputt.de/fullsnes.htm#snescartgsuncpumisc


[[Category:ASM]]
[[Category:ASM]]
[[Category:Super FX]]
[[Category:Super FX]]
[[Category:Two-byte Instructions]]

Latest revision as of 12:40, 29 November 2023

Basic Info
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]

See Also

External Links

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