We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
JMP: Difference between revisions
From SnesLab
(→External Links: de n'd page number) |
(→External Links: Pickens ref) |
||
Line 82: | Line 82: | ||
* [[Carr]] page 261 on JMP: https://archive.org/details/6502UsersManual/page/n274 | * [[Carr]] page 261 on JMP: https://archive.org/details/6502UsersManual/page/n274 | ||
* [[Leventhal]] page 3-69 on JMP: https://archive.org/details/6502-assembly-language-programming/page/n118 | * [[Leventhal]] page 3-69 on JMP: https://archive.org/details/6502-assembly-language-programming/page/n118 | ||
* http://www.6502.org/tutorials/6502opcodes.html#JMP | |||
[[Category:ASM]] | [[Category:ASM]] |
Revision as of 04:43, 21 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Absolute | 4C | 3 bytes | 3 cycles | ||||
Absolute Indirect | 6C | 3 bytes | 5 cycles | ||||
Absolute Indexed Indirect | 7C | 3 bytes | 6 cycles | ||||
Absolute Long | 5C | 4 bytes | 4 cycles | ||||
Absolute Indirect Long | DC | 3 bytes | 6 cycles |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
N | V | M | X | D | I | Z | C | |
. | . | . | . | . | . | . | . |
JMP is a 65c816 instruction that performs an unconditional jump.
The NMOS 6502's opcode 6C behaves incorrectly when the low byte of the target address is $FF.
JMP is not relocatable. No flags are affected.
Syntax
JMP addr JMP (addr) JMP (addr, X) JMP long JML long JMP [addr] JML [addr]
See Also
External Links
- Eyes & Lichty page 459, on JMP: https://archive.org/details/0893037893ProgrammingThe65816/page/459
- Labiak page 145 on JMP: https://archive.org/details/Programming_the_65816/page/n155
- MCS6500 Manual page 36 on JMP: https://archive.org/details/mos_microcomputers_programming_manual/page/n51
- Carr page 261 on JMP: https://archive.org/details/6502UsersManual/page/n274
- Leventhal page 3-69 on JMP: https://archive.org/details/6502-assembly-language-programming/page/n118
- http://www.6502.org/tutorials/6502opcodes.html#JMP