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
(added Labiak page) |
(added MCS6500 page) |
||
Line 53: | Line 53: | ||
* [[Eyes & Lichty]] page on JSR: https://archive.org/details/0893037893ProgrammingThe65816/page/n487 | * [[Eyes & Lichty]] page on JSR: https://archive.org/details/0893037893ProgrammingThe65816/page/n487 | ||
* [[Labiak]] page on JSR: https://archive.org/details/Programming_the_65816/page/n158 | * [[Labiak]] page on JSR: https://archive.org/details/Programming_the_65816/page/n158 | ||
* [[MCS6500 Manual]] page on JSR: https://archive.org/details/mos_microcomputers_programming_manual/page/n125 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Inherited from 6502]] | [[Category:Inherited from 6502]] |
Revision as of 03:59, 16 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 | |
. | . | . | . | . | . | . | . |