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
Jump to: navigation, search
(added MCS6500 page)
(Non-relocatable)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''JMP''' is a [[65c816]] instruction that performs an unconditional jump.
{| class="wikitable" style="float:right;clear:right;width:40%"
 
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Basic Info
!colspan="8"|Basic Info
|+
|+
Line 9: Line 7:
|'''Speed'''
|'''Speed'''
|+
|+
|absolute
|[[Absolute]]
|4C
|4C
|3 bytes
|3 bytes
|3 cycles
|3 cycles
|+
|+
|absolute indirect
|[[Absolute Indirect]]
|6C
|6C
|3 bytes
|3 bytes
|5 cycles
|5 cycles
|+
|+
|absolute indexed indirect
|[[Absolute Indexed Indirect]]
|7C
|7C
|3 bytes
|3 bytes
|6 cycles
|6 cycles
|+
|+
|absolute long
|[[Absolute Long]]
|5C
|5C
|4 bytes
|4 bytes
|4 cycles
|4 cycles
|+
|+
|absolute indirect long
|[[Absolute Indirect Long]]
|DC
|DC
|3 bytes
|3 bytes
Line 36: Line 34:


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="9"|Flags Clobbered
!colspan="9"|Flags Affected
|+
|+
|N
|[[Negative Flag|N]]
|V
|[[Overflow Flag|V]]
|M
|[[M Flag|M]]
|X
|[[X Flag|X]]
|D
|[[Decimal Flag|D]]
|I
|[[I Flag|I]]
|Z
|[[Zero Flag|Z]]
|C
|[[Carry Flag|C]]
|+
|+
|.
|.
Line 56: Line 54:
|.
|.
|}
|}
'''JMP''' is a [[65c816]] instruction that performs an unconditional jump.


=== See Also ===
=== See Also ===
Line 61: Line 61:


=== External Links ===
=== External Links ===
* [[Eyes & Lichty]] page on JMP: https://archive.org/details/0893037893ProgrammingThe65816/page/n485
* [[Eyes & Lichty]] page 459, on JMP: https://archive.org/details/0893037893ProgrammingThe65816/page/n485
* [[Labiak]] page on JMP: https://archive.org/details/Programming_the_65816/page/n155
* [[Labiak]] page 145 on JMP: https://archive.org/details/Programming_the_65816/page/n155
* [[MCS6500 Manual]] page on JMP: https://archive.org/details/mos_microcomputers_programming_manual/page/n51
* [[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


[[Category:ASM]]
[[Category:ASM]]
[[Category:Group Three Instructions]]
[[Category:Group Three Instructions]]
[[Category:Inherited from 6502]]
[[Category:Inherited from 6502]]
[[Category:Unconditional Branches]]
[[Category:Non-relocatable Instructions]]

Latest revision as of 12:23, 14 December 2023

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.

See Also

External Links