17.01.2013 Views

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

348 Chapter 17.<br />

Trap Exception<br />

Cause<br />

Processing<br />

Servicing<br />

The Trap exception occurs when a TGE, TGEU, TLT, TLTU, TEQ, TNE, TGEI,<br />

TGEUI, TLTI, TLTUI, TEQI, or TNEI instruction results in a TRUE condition. This<br />

exception is not maskable.<br />

The common exception vector is used for this exception, and the Tr code in the<br />

Cause register is set.<br />

The EPC register contains the address of the instruction causing the exception<br />

unless the instruction is in a branch delay slot, in which case the EPC register<br />

contains the address of the preceding branch instruction and the BD bit of the<br />

Cause register is set.<br />

The process executing at the time of a Trap exception is handed a UNIX SIGFPE/<br />

FPE_INTOVF_TRAP (floating-point exception/integer overflow) signal. This<br />

error is usually fatal.<br />

Version 2.0 of January 29, 1997 <strong>MIPS</strong> <strong>R10000</strong> <strong>Microprocessor</strong> <strong>User's</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!