10.62
MOVT
T Bit Transfer
Format
MOVT Rn
Description
This instruction stores the T bit in general register Rn. When T = 1, Rn = 1; when T = 0, Rn = 0.
Operation
MOVT(long n)
{
R[n]=(0x00000001 & SR);
PC+=2;
}
Example
XOR
R2,R2
CMP/PZ
R2
MOVT
R0
CLRT
MOVT
R1
MOVe T bit
Summary of Operation
T → Rn
/* MOVT Rn */
;R2 = 0
;T = 1
;R0 = 1
;T = 0
;R1 = 0
Data Transfer Instruction
Instruction Code
0000nnnn00101001 1
Rev. 2.0, 03/99, page 331 of 396
Execution
States
T Bit
—