Table 7.3 Fixed-Point Transfer Instructions (cont)
Instruction
MOV.B
Operation
Instruction Code
Privileged T Bit
R0,@(disp,GBR) R0 → (disp + GBR)
R0,@(disp,GBR) R0 → (disp × 2 + GBR)
R0,@(disp,GBR) R0 → (disp × 4 + GBR)
11000000dddddddd
11000001dddddddd
11000010dddddddd
11000100dddddddd
—
—
—
—
—
—
—
—
MOV.W
MOV.L
MOV.B
@(disp,GBR),R0 (disp + GBR) →
sign extension → R0
MOV.W
@(disp,GBR),R0 (disp × 2 + GBR) →
sign extension → R0
11000101dddddddd
—
—
MOV.L
MOVA
@(disp,GBR),R0 (disp × 4 + GBR) → R0
11000110dddddddd
11000111dddddddd
—
—
—
—
@(disp,PC),R0
disp × 4 + PC & H'FFFFFFFC
+ 4 → R0
MOVT
Rn
T → Rn
0000nnnn00101001
0110nnnnmmmm1000
—
—
—
—
SWAP.B Rm,Rn
Rm → swap lower 2 bytes
→ Rn
SWAP.W Rm,Rn
Rm → swap upper/lower
words → Rn
0110nnnnmmmm1001
0010nnnnmmmm1101
—
—
—
—
XTRCT
Rm,Rn
Rm:Rn middle 32 bits → Rn
Rev. 6.0, 07/02, page 181 of 986