3
3-10
M32R-FPU Software Manual (Rev.1.01)
ADDV3
[Mnemonic]
ADDV3 Rdest,Rsrc,#imm16
[Function]
Add
Rdest = ( signed ) Rsrc + ( signed ) ( ( signed short ) imm16 );
C = overflow ? 1 : 0;
[Description]
ADDV3 adds the 16-bit immediate value to Rsrc and puts the result in Rdest. The immediate
value is sign-extended to 32 bits before it is added to Rsrc.
The condition bit (C) is set when the addition results in overflow; otherwise it is cleared.
[EIT occurrence]
None
[Encoding]
ADDV3
dest1000 imm16
arithmetic operation instruction
Add 3-operand with overflow checking
ADDV3 Rdest,Rsrc,#imm16
src1000
INSTRUCTIONS
3.2 Instruction description