MVTIPL

Interrupt priority level setting

MVTIPL

MoVe To Interrupt Priority Level


[Syntax]

MVTIPL src

 

[Operation]

IPL = src;

[Function]

-

This instruction transfers src to the IPL[3:0] bits in the PSW.

-

This instruction is a privileged instruction. Attempting to execute this instruction in user mode generates a privileged instruction exception.

-

The value of src is an unsigned integer in the range 0 ? src ? 15.

 

[Instruction Format]

Syntax

src

Code size

(Byte)

MVTIPL src

#IMM:32

3

[Flag Change]

-

This instruction does not affect the states of flags.

 

[Description Example]

MVTIPL #2