Vol. 3 6-33
INTERRUPT AND EXCEPTION HANDLING
Interrupt 5—BOUND Range Exceeded Exception (#BR)
Exception Class Fault.
Description
Indicates that a BOUND-range-exceeded fault occurred when a BOUND instruction
was executed. The BOUND instruction checks that a signed array index is within the
upper and lower bounds of an array located in memory. If the array index is not
within the bounds of the array, a BOUND-range-exceeded fault is generated.
Exception Error Code
None.
Saved Instruction Pointer
The saved contents of CS and EIP registers point to the BOUND instruction that
generated the exception.
Program State Change
A program-state change does not accompany the bounds-check fault, because the
operands for the BOUND instruction are not modified. Returning from the BOUND-
range-exceeded exception handler causes the BOUND instruction to be restarted.