CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.84
MOV (Move Word Data in Program Status Register to
Destination Register)
Moves the word data in the program status (PS) to general-purpose register "Ri".
■ MOV (Move Word Data in Program Status Register to Destination Register)
Assembler format:
MOV PS, Ri
PS → Ri
Operation:
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
1 cycle
Instruction format:
Example:
MOV PS, R3
180
N
Z
V
C
–
–
–
–
MSB
0
0
0
1
Instruction bit pattern : 0001 0111 0001 0011
R3
x x x x
x x x x
PS
F F F 8 F 8 C 0
Before execution
0
1
1
1
0
0
LSB
0
1
Ri
R3
F F F 8 F 8 C 0
PS
F F F 8 F 8 C 0
After execution