MVFC

Transfer from a control register

MVFC

MoVe From Control register


[Syntax]

MVFC src, dest

 

[Operation]

dest = src;

 

[Function]

-

This instruction transfers src to dest.

-

When the PC is specified as src, this instruction pushes its own address onto the stack.

-

EXTB is also specifiable as src if you have specified the assembler option -isa with selection of the instruction set of the RXv2 or a later version. [V2.01.00 or later]

 

[Instruction Format]

Syntax

Processng Size

Operand

Code Size

(Byte)

src*

dest

MVFC src, dest

L

Rx

Rd

3

Note

* Selectable src: Registers PC, ISP, USP, INTB, EXTB, PSW, BPC, BPSW, FINTV, and FPSW

 

[Flag Change]

-

This instruction does not affect the states of flags.

 

[Description Example]

MVFC USP, R1