Divu – Renesas M32R-FPU User Manual

Page 73

Advertising
background image

3

3-35

M32R-FPU Software Manual (Rev.1.01)

DIVU

[Mnemonic]

DIVU Rdest,Rsrc

[Function]

Unsigned division

Rdest = ( unsigned ) Rdest / ( unsigned ) Rsrc;

[Description]

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

The operands are treated as unsigned 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]

DIVU

multiply and divide instruction

Divide unsigned

dest

1001

src

0001

0000

0000

0000

0000

DIVU Rdest,Rsrc

INSTRUCTIONS

3.2 Instruction description

Advertising