In: Advanced Math
8. Which FPU register number (R0 through R7) is identified as ST(0)?
9. Which FPU register determines the precision and rounding methods for calculations?
10. If the divide by zero exception flag in the FPU is set, what happens when the FPU tries to execute a division by zero?
8) . FPU processor maintains dedicated register sets to store the status of stack set of which register R3 to store ST(0).
9). The Control register (a special pu) is used to store the status of precision and rounding methods.
10). The Divide by zero condition and varying responses to it are given by:
- Divide or reverse divide operation with 0 divisor: Returns an infinite with the ex-OR of the sign of the two operands to the destination operand.
- FYL2X instruction: Returns an infinite signed with opposite sign of the non-zero operand to the destination operand.
- FXTRACT instruction: ST(1) is set to -ve infinite; ST(0) is set to 0 with same sign as the source operand