Renesas M32R-FPU User Manual

Page 72

Advertising
background image

3

3-34

M32R-FPU Software Manual (Rev.1.01)

dest

1001

src

0000

0000

0000

0000

0000

DIV Rdest,Rsrc

DIV

[Mnemonic]

DIV Rdest,Rsrc

[Function]

Signed division

Rdest = ( signed ) Rdest / ( signed ) Rsrc;

[Description]

DIV divides Rdest by Rsrc and puts the quotient in Rdest.

The operands are treated as signed 32-bit values and the result is rounded toward zero.

The condition bit (C) is unchanged.

When Rsrc is zero, Rdest is unchanged.

[EIT occurrence]

None

[Encoding]

DIV

multiply and divide instruction

Divide

INSTRUCTIONS

3.2 Instruction description

Advertising