Renesas M32R-FPU Manual Do Utilizador

Página de 192
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