Assembler:Commands:FDIV

From Cheat Engine
Revision as of 04:07, 15 March 2017 by TheyCallMeTim13 (talk | contribs) (Created page with ''''command''' fdiv ''size'' ''source'' Performs a single precision or double-precision floating-point division of two operands. Divides the destination operand by the source op…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

command fdiv size source

Performs a single precision or double-precision floating-point division of two operands.

Divides the destination operand by the source operand and stores the result in the destination location. The destination operand (dividend) is always in an FPU register; the source operand (divisor) can be a register or a memory location.

FPU flags affected. C1 Set to 0 if stack underflow occurred. Set if result was rounded up; cleared otherwise. C0, C2, C3 Undefined.


Divides the destination operand by the source operand and stores the result in the destination location. The destination operand (dividend) is always in an FPU register; the source operand (divisor) can be a register or a memory location. Source operands in memory can be in single precision or double-precision floating-point format, word or double word integer format.

x86.renejeschke.de/html/file_module_x86_id_91.html


Command Parameters

Parameter Description
size The data size
source The dividend operand


Examples

fdiv st(1)
fdiv dword ptr [00123ABC]
fdiv dword ptr [SomeSymbol]
fld dword ptr [00123ABC]
fdiv dword ptr [SomeSymbol]
fstp dword ptr [00123ABC]
fld qword ptr [SomeSymbol]
fdiv qword ptr [00123ABC]
fstp qword ptr [SomeSymbol]

See also

External links