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: Difference between revisions

From SnesLab
Jump to: navigation, search
(no flags affected)
(pluralize bytes)
Line 9: Line 9:
|[[Absolute Long Addressing|Absolute Long]]
|[[Absolute Long Addressing|Absolute Long]]
|22
|22
|4 byte
|4 bytes
|8 cycles
|8 cycles
|}
|}

Revision as of 22:33, 6 July 2024

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.

Execution Sequence

  • the current program counter bank is pushed onto the stack
  • the return address is pushed onto the stack
  • control is transferred to the target location

See Also

External Links