Renesas Electronics
MVTC
Transfer to a control register
MoVe To Control register
[Syntax]
MVTC src, dest
[Operation]
dest = src;
[Function]
-
This instruction transfers src to dest.
In user mode, writing to the ISP, INTB, BPC, BPSW, and FINTV, and the IPL[3:0], PM, U, and I bits in the PSW is ignored. In supervisor mode, writing to the PM bit in the PSW is ignored.
[Instruction Format]
Syntax
Processng Size
src
dest
Code size
(Byte)
L
#SIMM:8
Rx
7
#SIMM:16
3
#SIMM:24
#IMM:32
4
Rs
5
[Flag Change]
Flag
C
Z
S
O
Change
*
Note
* The flag changes only when dest is the PSW.
[Description Example]
MVTC #0FFFFF000h, INTB
MVTC R1, USP