13.07.2015 Views

iAPX 286 Operating System Writers Guide 1983

iAPX 286 Operating System Writers Guide 1983

iAPX 286 Operating System Writers Guide 1983

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.

HANDLING EXCEPTION CONDITIONSAn instruction that both tests and modifies the carry flag is not restart able (ADC, RCL, RCR, orSBB).Interrupt 16-Processor Extension Error (MF)The 80<strong>286</strong> causes this exception when it detects a signal from the 80287 on the 80<strong>286</strong>'s ERROR inputpin. The 80<strong>286</strong> tests this pin only at the beginning of certain floating-point instructions and when itencounters a WAIT instruction while the EM bit of the MSW is reset (no emulation).Refer to Chapter 12 for more information on this exception.Interrupt 17 -Run-Time ExceptionsIntel's run-time support software uses this interrupt to communicate exception conditions regardingrange checks and procedure stack overflow. Applications should avoid using this interrupt for any otherpurpose.RESTART ABILITY SUMMARYTable 7-1 summarizes the information pertinent to restarting the faulting instruction.Table 7-1. Restart ConditionsReturn AddressVector Exception Relative to Restartable?Faulting InstructionErrorCode?0 Divide error First byte Yes No1 Single step Next instr. No No3 Breakpoint Next instr. - No4 Overflow Next instr. No No5 Bound check First byte Yes No6 Undefined opcode First byte No No7 Processor extension Unrelated Yes Nonot available8 Double fault First byte No Yes(always nUll)9 Processor extension Unrelated No Nosegment overrun10 Invalid TSS First byte Yes Yes11 Segment not present First byte Yes Yes12 Stack exception First byte Yes Yes13 General protection First byte No Yes16 Processor extension Unrelated - Noerror7-8 121960-001

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

Saved successfully!

Ooh no, something went wrong!