News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

About Operands WAIT/FWAIT

Started by silentenigma, November 02, 2009, 10:18:59 PM

Previous topic - Next topic

silentenigma

On the address:
http://www.ray.masmcode.com/tutorial/fpuchap3.htm
dear ray explains FWAIT-->"This instruction prevents the CPU from executing its next instruction if the Busy bit of the FPU's Status Word is set."

Ok i understand it. Then what about WAIT operand? Are they same or not?

On address:
http://siyobik.info/index.php?module=x86&id=324
It says:"WAIT is an alternate mnemonic for WAIT" Is that true?

if they are not same pls explain.
Best Regards
My heart is ripped out,
Chained on my boots
Look deep inside mey soul with pain,
Witness the fall of a hero

dedndave

wait and fwait are the same operands
"wait" can be a little confusing if you work with CPU IC's directly, as one of the hardware lines on x86 processors is called "wait"
if you want to verify it, just assemble both and look at them with a debugger or at the assembler listing output

FORTRANS

Hi,

   Yes, WAIT and FWAIT are the same instruction.  When the 8086/8087
were introduced, Other coprocessors were planned/offered.  FWAIT was
for the FPU as all floating point instructions start with "F".  Wait would be
used with a different coprocessor.

Regards,

Steve N.