Macro Functions to Read and Write Control Registers
The following macro functions enable you to read and write bits to and from the control register.
Exception State Macros
Write to and read from the six least significant control register bits, respectively.
The following example tests for a divide-by-zero exception.