HITACHI 31
Table 2.12
Data Transfer Instructions
Instruction
Instruction Code
Operation
Execu-
tion
Cycles
T
bit
MOV
#imm,Rn
1110nnnniiiiiiii
#imm
→
Sign extension
→
Rn
1
—
MOV.W
@(disp,PC),Rn
1001nnnndddddddd
(disp
×
2 + PC)
→
Sign
extension
→
Rn
(disp
×
4 + PC)
→
Rn
Rm
→
Rn
Rm
→
(Rn)
Rm
→
(Rn)
Rm
→
(Rn)
(Rm)
→
Sign extension
→
Rn
1
—
MOV.L
@(disp,PC),Rn
1101nnnndddddddd
1
—
MOV
Rm,Rn
0110nnnnmmmm0011
1
—
MOV.B
Rm,@Rn
0010nnnnmmmm0000
1
—
MOV.W
Rm,@Rn
0010nnnnmmmm0001
1
—
MOV.L
Rm,@Rn
0010nnnnmmmm0010
1
—
MOV.B
@Rm,Rn
0110nnnnmmmm0000
1
—
MOV.W
@Rm,Rn
0110nnnnmmmm0001
(Rm)
→
Sign extension
→
Rn
1
—
MOV.L
@Rm,Rn
0110nnnnmmmm0010
(Rm)
→
Rn
Rn–1
→
Rn, Rm
→
(Rn)
Rn–2
→
Rn, Rm
→
(Rn)
Rn–4
→
Rn, Rm
→
(Rn)
(Rm)
→
Sign extension
→
Rn,Rm + 1
→
Rm
(Rm)
→
Sign extension
→
Rn,Rm + 2
→
Rm
(Rm)
→
Rn,Rm + 4
→
Rm
R0
→
(disp + Rn)
R0
→
(disp
×
2 + Rn)
Rm
→
(disp
×
4 + Rn)
(disp + Rm)
→
Sign
extension
→
R0
(disp
×
2 + Rm)
→
Sign
extension
→
R0
(disp
×
4 + Rm)
→
Rn
Rm
→
(R0 + Rn)
Rm
→
(R0 + Rn)
1
—
MOV.B
Rm,@–Rn
0010nnnnmmmm0100
1
—
MOV.W
Rm,@–Rn
0010nnnnmmmm0101
1
—
MOV.L
Rm,@–Rn
0010nnnnmmmm0110
1
—
MOV.B
@Rm+,Rn
0110nnnnmmmm0100
1
—
MOV.W
@Rm+,Rn
0110nnnnmmmm0101
1
—
MOV.L
@Rm+,Rn
0110nnnnmmmm0110
1
—
MOV.B
R0,@(disp,Rn)
10000000nnnndddd
1
—
MOV.W
R0,@(disp,Rn)
10000001nnnndddd
1
—
MOV.L
Rm,@(disp,Rn)
0001nnnnmmmmdddd
1
—
MOV.B
@(disp,Rm),R0
10000100mmmmdddd
1
—
MOV.W
@(disp,Rm),R0
10000101mmmmdddd
1
—
MOV.L
@(disp,Rm),Rn
0101nnnnmmmmdddd
1
—
MOV.B
Rm,@(R0,Rn)
0000nnnnmmmm0100
1
—
MOV.W
Rm,@(R0,Rn)
0000nnnnmmmm0101
1
—