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
(dp indexed by Y)
(several implied type 1 admodes)
Line 234: Line 234:
|'''Speed'''
|'''Speed'''
|+
|+
|
|[[Implied Addressing | Implied]] (type 1)
|7D
|7D
|1 byte
|1 byte
|2 cycles
|2 cycles
|+
|+
|
|[[Implied Addressing | Implied]] (type 1)
|DD
|DD
|1 byte
|1 byte
|2 cycles
|2 cycles
|+
|+
|
|[[Implied Addressing | Implied]] (type 1)
|5D
|5D
|1 byte
|1 byte
|2 cycles
|2 cycles
|+
|+
|
|[[Implied Addressing | Implied]] (type 1)
|FD
|FD
|1 byte
|1 byte
|2 cycles
|2 cycles
|+
|+
|
|[[Implied Addressing | Implied]] (type 1)
|9D
|9D
|1 byte
|1 byte
Line 290: Line 290:
|'''Speed'''
|'''Speed'''
|+
|+
|
|[[Implied Addressing | Implied]] (type 1)
|BD
|BD
|1 byte
|1 byte
|2 cycles
|2 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|FA
|FA
|3 bytes
|3 bytes

Revision as of 04:47, 24 July 2023

Basic Info (Group 1)
Addressing Mode Opcode Length Speed
immediate E8 2 bytes 3 cycles
E6 1 byte 3 cycles
BF 1 byte 4 cycles
Direct Page E4 2 bytes 3 cycles
Direct Page Indexed by X F4 2 bytes 4 cycles
Absolute E5 3 bytes 4 cycles
Absolute Indexed by X F5 3 bytes 5 cycles
Absolute Indexed by Y 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
Direct Page Indexed by Y F9 2 bytes 4 cycles
absolute E9 3 bytes 4 cycles
immediate 8D 2 bytes 2 cycles
direct page EB 2 bytes 3 cycles
Direct Page Indexed by X FB 2 bytes 4 cycles
absolute EC 3 bytes 4 cycles
Flags Clobbered (Group 1)
N V P B H I Z C
. . . . . .
Basic Info (Group 2)
Addressing Mode Opcode Length Speed
C6 1 byte 4 cycles
AF 1 byte 4 cycles
Direct Page C4 2 bytes 4 cycles
Direct Page Indexed by X D4 2 bytes 5 cycles
Absolute C5 3 bytes 5 cycles
Absolute Indexed by X D5 3 bytes 6 cycles
Absolute Indexed by Y D6 3 bytes 6 cycles
C7 2 bytes 7 cycles
D7 2 bytes 6 cycles
Direct Page D8 2 bytes 4 cycles
Direct Page Indexed by Y D9 2 bytes 5 cycles
Absolute C9 3 bytes 5 cycles
Direct Page CB 2 bytes 4 cycles
Direct Page Indexed by X DB 2 bytes 5 cycles
Absolute CC 3 bytes 5 cycles
Flags Clobbered (Group 2)
N V P B H I Z C
. . . . . . . .
Basic Info (Group 3)
Addressing Mode Opcode Length Speed
Implied (type 1) 7D 1 byte 2 cycles
Implied (type 1) DD 1 byte 2 cycles
Implied (type 1) 5D 1 byte 2 cycles
Implied (type 1) FD 1 byte 2 cycles
Implied (type 1) 9D 1 byte 2 cycles
Flags Clobbered (Group 3)
N V P B H I Z C
. . . . . .
Basic Info (Group 3 cont.)
Addressing Mode Opcode Length Speed
Implied (type 1) BD 1 byte 2 cycles
Direct Page FA 3 bytes 5 cycles
Direct Page Immediate 8F 3 bytes 5 cycles
Flags Clobbered (Group 3 cont.)
N V P B H I Z C
. . . . . . . .

MOV is an SPC700 instruction that moves a value. There are a large number of variations for this instruction, and they are divided into three groups:

  • In Group 1, MOV moves values from ARAM to registers.
  • In Group 2, MOV moves values from registers to ARAM.
  • In Group 3, MOV moves values from registers to registers or from ARAM to ARAM.

See Also

External Links