EasyManua.ls Logo

Mips Technologies R4000 - Floating-Point Exception

Mips Technologies R4000
754 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIPS R4000 Microprocessor User's Manual 141
CPU Exception Processing
Floating-Point Exception
Cause
The Floating-Point exception is used by the floating-point coprocessor.
This exception is not maskable.
Processing
The common exception vector is used for this exception, and the FPE code
in the Cause register is set.
The contents of the Floating-Point Control/Status register indicate the cause
of this exception.
Floating-Point exception processing is shown in Figure 5-17.
Servicing
This exception is cleared by clearing the appropriate bit in the Floating-
Point Control/Status register.
For an unimplemented instruction exception, the kernel should emulate
the instruction; for other exceptions, the kernel should pass the exception
to the user program that caused the exception.

Table of Contents