Renesas M32R-FPU User Manual

Page of 192
3
3-99
M32R-FPU Software Manual (Rev.1.01)
INSTRUCTIONS
3.2 Instruction description
SETPSW
SETPSW
Bit Operation Instructions
Set PSW
[M32R-FPU Extended Instruction]
[Mnemonic]
SETPSW  #imm8
[Function]
Set the undefined SM, IE, anc C bits of PSW to 1.
PSW : = imm8&0x000000ff
[Description]
Set the AND result of the value of b0 (MSB), b1, and b7 (LSB) of the 8-bit immediate value and
bits SM, IE, and C of PSW to the corresponding SM, IE, and C bits. When b7 (LSB) or #imm8 is
1, the condition bit (C) goes to 0. All other bits remain unchanged.
[EIT occurrence]
None
[Encoding]
[Note]
Set the 8-bit immediate values of b2 to b6 to “0”.
0001
0111
imm8
SETPSW  #imm8