Movt - Hitachi SH7750 Programming Manual

High-performance risc engine superh (sh) 32-bit risc mcu/mpu series
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents