Renesas M32R-FPU Manual Do Utilizador

Página de 192
3
3-29
M32R-FPU Software Manual (Rev.1.01)
CLRPSW
CLRPSW
INSTRUCTIONS
3.2 Instruction description
bit operation Instructions
Clear PSW
[M32R-FPU Extended Instruction]
[Mnemonic]
CLRPSW  #imm8
[Function]
Set the undefined SM, IE, and C bits of PSW to 0.
PSW& = ~imm8 : 0xffffff00
[Description]
Set the AND result s of the reverse 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]
0010
0111
CLRPSW  #imm8
imm8