3
3-9 M32R-FPU Software Manual (Rev.1.01)

ADDV

[Mnemonic]

ADDV Rdest,Rsrc

[Function]
Add
Rdest = ( signed ) Rdest + ( signed ) Rsrc;
C = overflow ? 1 : 0;
[Description]
ADDV adds Rsrc to Rdest and puts the result in Rdest.
The condition bit (C) is set when the addition results in overflow; otherwise it is cleared.
[EIT occurrence]
None
[Encoding]

ADDV

dest0000 ADDV Rdest,Rsrc1000

arithmetic operation instruction

Add with overflow checking

src

INSTRUCTIONS
3.2 Instruction description