The WAIT instruction
Waiting for the coprocessor to complete its operation.
The WAIT instruction format
| Instruction | Description |
|---|---|
| WAIT | Suspend 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
NoPF
NoAF
NoZF
NoSF
NoTF
NoIF
NoDF
NoOF
No