We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

MOV (SPC700): Difference between revisions

From SnesLab
Jump to: navigation, search
(created page)
 
(added basic info)
Line 1: Line 1:
'''MOV''' is an [[SPC700]] instruction that moves a value.
'''MOV''' is an [[SPC700]] instruction that moves a value.
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Basic Info
|+
|'''Addressing Mode'''
|'''Opcode'''
|'''Length'''
|'''Speed'''
|+
|immediate
|E8
|2 bytes
|3 cycles
|+
|
|E6
|1 bytes
|3 cycles
|+
|
|BF
|1 bytes
|4 cycles
|+
|direct page
|E4
|2 bytes
|3 cycles
|+
|
|F4
|2 bytes
|4 cycles
|+
|absolute
|E5
|3 bytes
|4 cycles
|+
|
|F5
|3 bytes
|5 cycles
|+
|
|F6
|3 bytes
|5 cycles
|+
|
|E7
|2 bytes
|6 cycles
|+
|
|F7
|2 bytes
|6 cycles
|+
|immediate
|CD
|2 bytes
|2 cycles
|+
|direct page
|F8
|2 bytes
|3 cycles
|+
|
|F9
|2 bytes
|4 cycles
|+
|absolute
|E9
|3 bytes
|4 cycles
|+
|immediate
|8D
|2 bytes
|2 cycles
|+
|direct page
|EB
|2 bytes
|3 cycles
|+
|
|FB
|2 bytes
|4 cycles
|+
|absolute
|EC
|3 bytes
|4 cycles
|}


[[Category:ASM]]
[[Category:ASM]]
[[Category:SPC700]]
[[Category:SPC700]]

Revision as of 04:36, 7 May 2023

MOV is an SPC700 instruction that moves a value.

Basic Info
Addressing Mode Opcode Length Speed
immediate E8 2 bytes 3 cycles
E6 1 bytes 3 cycles
BF 1 bytes 4 cycles
direct page E4 2 bytes 3 cycles
F4 2 bytes 4 cycles
absolute E5 3 bytes 4 cycles
F5 3 bytes 5 cycles
F6 3 bytes 5 cycles
E7 2 bytes 6 cycles
F7 2 bytes 6 cycles
immediate CD 2 bytes 2 cycles
direct page F8 2 bytes 3 cycles
F9 2 bytes 4 cycles
absolute E9 3 bytes 4 cycles
immediate 8D 2 bytes 2 cycles
direct page EB 2 bytes 3 cycles
FB 2 bytes 4 cycles
absolute EC 3 bytes 4 cycles