beautypg.com

Subv – Renesas M32R-FPU User Manual

Page 152

background image

3

3-114

M32R-FPU Software Manual (Rev.1.01)

SUBV

SUBV

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]

dest

0000

0000

src

SUBV Rdest,Rsrc

INSTRUCTIONS

3.2 Instruction description