We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
JSR: Difference between revisions
From SnesLab
(created page) |
(added basic info) |
||
Line 1: | Line 1: | ||
'''JSR''' (Jump to Subroutine) is a 65x instruction that transfers control to a subroutine. | '''JSR''' (Jump to Subroutine) is a 65x instruction that transfers control to a subroutine. | ||
{| class="wikitable" style="width:30%" | |||
!colspan="8"|Basic Info | |||
|+ | |||
|'''Addressing Mode''' | |||
|'''Opcode''' | |||
|'''Length''' | |||
|'''Speed''' | |||
|+ | |||
|absolute | |||
|20 | |||
|3 bytes | |||
|6 cycles | |||
|+ | |||
|absolute indexed indirect | |||
|FC | |||
|3 bytes | |||
|8 cycles | |||
|+ | |||
|absolute long | |||
|22 | |||
|4 bytes | |||
|8 cycles | |||
|} | |||
{| class="wikitable" style="float:right;clear:right;width:30%" | {| class="wikitable" style="float:right;clear:right;width:30%" |
Revision as of 17:41, 1 May 2023
JSR (Jump to Subroutine) is a 65x instruction that transfers control to a subroutine.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
absolute | 20 | 3 bytes | 6 cycles | ||||
absolute indexed indirect | FC | 3 bytes | 8 cycles | ||||
absolute long | 22 | 4 bytes | 8 cycles |
Flags Clobbered | ||||||||
---|---|---|---|---|---|---|---|---|
N | V | M | X | D | I | Z | C | |
. | . | . | . | . | . | . | . |