Examines the contents of the ST(0) register and sets the condition code flags C0, C2, and C3 in the FPU status word to indicate the class of value or number in the register (see the table below).
FXAM Results
Class | C3 | C2 | C0 |
Unsupported | 0 | 0 | 0 |
NaN | 0 | 0 | 1 |
Normal finite number | 0 | 1 | 0 |
Infinity | 0 | 1 | 1 |
Zero | 1 | 0 | 0 |
Empty | 1 | 0 | 1 |
Denormal number | 1 | 1 | 0 |
The C1 flag is set to the sign of the value in ST(0), regardless of whether the register is empty or full.
|