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

dest1001 src0000 00000000 00000000

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