The WAIT instruction

Waiting for the coprocessor to complete its operation.

The WAIT instruction format

InstructionDescription
WAITSuspend program execution until the coprocessor (FPU) completes the current operation.

Instruction WAIT (or FWAIT) is used to synchronize the main processor with a coprocessor (for example, the 8087). The processor checks the BUSY signal of the coprocessor and suspends its work while the coprocessor is busy. This ensures that the result of the coprocessor operation is ready by the time the main processor wants to use it.

Processor status flags

CF
No
PF
No
AF
No
ZF
No
SF
No
TF
No
IF
No
DF
No
OF
No