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

SUBVSUBV

arithmetic operation instruction

Subtract with overflow checking

[Mnemonic]

SUBV Rdest,Rsrc

[Function]
Subtract
Rdest = Rdest - Rsrc;
C = overflow ? 1 : 0;
[Description]
SUBV subtracts Rsrc from Rdest and puts the result in Rdest.
The condition bit (C) is set when the subtraction results in overflow; otherwise, it is cleared.
[EIT occurrence]
None
[Encoding]

dest0000 0000 src SUBV Rdest,Rsrc

INSTRUCTIONS
3.2 Instruction description