وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

FMUL

FMUL 

Usage: FMUL  dest,src                                Modifies flags: None

Multiplies the 'dest' and 'src' operands and stores the product in the 'dest'  location. The 'dest' operand is always an FPU data register; the 'src' operand can be an FPU data register or a memory location. 

Floating-Point Multiply


FMUL mem32                    ; D8 /1                [8086,FPU]

FMUL mem64                    ; DC /1                [8086,FPU]


FMUL fpureg                   ; D8 C8+r              [8086,FPU]

FMUL ST0,fpureg               ; D8 C8+r              [8086,FPU]


FMUL TO fpureg                ; DC C8+r              [8086,FPU]

FMUL fpureg,ST0               ; DC C8+r              [8086,FPU]


FMULP fpureg                  ; DE C8+r              [8086,FPU]

FMULP fpureg,ST0              ; DE C8+r              [8086,FPU]


FMUL multiplies ST0 by the given operand, and stores the result in ST0, unless the TO qualifier is used in which case it stores the result in the operand. FMULP performs the same operation as FMUL TO, and then pops the register stack.

Source operands in memory can be in single-precision or double-precision floating-point format or in word or doubleword integer format.


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


EXAMPLE:

fmul Label