MVTC

Transfer to a control register

MVTC

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)

MVTC src, dest

L

#SIMM:8

Rx

7

L

#SIMM:16

Rx

3

L

#SIMM:24

Rx

3

L

#IMM:32

Rx

4

L

Rs

Rx

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