Addv – Renesas M32R-FPU User Manual

Page 47

Advertising
background image

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

dest

0000

ADDV Rdest,Rsrc

1000

arithmetic operation instruction

Add with overflow checking

src

INSTRUCTIONS

3.2 Instruction description

Advertising