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

JSL

From SnesLab
Revision as of 02:14, 11 August 2024 by Xetheria (talk | contribs) (flow JSR into body)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Basic Info
Addressing Mode Opcode Length Speed
Absolute Long 22 4 bytes 8 cycles
Flags Affected
N V M X D I Z C
. . . . . . . .

JSL (Jump to Subroutine Long) is a 65c816 instruction that transfers control to a subroutine, possibly one in a different bank.

No flags are affected.

Syntax

JSL long

JSL works even in emulation mode, but it is intended primarily for native mode.

Execution Sequence

JSR is a smaller/faster alternative if you know the subroutine is in the same bank as the call.

See Also

External Links