For Programmers: Free Programming Magazines  


Home > Archive > A86 Assembler > May 2006 > fwait









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author fwait
Christian Christmann

2006-05-23, 6:57 pm

Hi,

I don't fully understand the idea of the x86 instruction
"FWAIT".

Here's a small code example:

faddp st1
ftst
fstsw ax
sahf
jb my_label
inc bl

my_label:
leave
ret

Does that code require any fwaits, e.g.
before the jb instruction to check and handle
any floating-point exceptions?


Cheers,
Chris

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com