12.07.2015 Views

Intel® Extended Memory 64 Technology Software Developer's Guide

Intel® Extended Memory 64 Technology Software Developer's Guide

Intel® Extended Memory 64 Technology Software Developer's Guide

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.

BOUND—Check Array Index Against BoundsOpcode Instruction <strong>64</strong>-Bit Mode Compat/Leg DescriptionMode62 /r BOUND r16, m16&16 Inv. Valid Check if r16 (array index) is within boundsspecified by m16&1662 /r BOUND r32, m32&32 Inv. Valid Check if r32 (array index) is within boundsspecified by m16&16Flags AffectedNone.IA-32e Mode OperationInstruction is invalid in <strong>64</strong>-bit mode.Protected Mode Exceptions#BR#UD#GP(0)#SS(0)#PF(fault-code)#AC(0)If the bounds test fails.If second operand is not a memory location.If a memory operand effective address is outside the CS, DS, ES, FS, or GS segment limit.If the DS, ES, FS, or GS register contains a null segment selector.If a memory operand effective address is outside the SS segment limit.If a page fault occurs.If alignment checking is enabled and an unaligned memory reference is made while thecurrent privilege level is 3.Real-Address Mode Exceptions#BR#UD#GP#SSIf the bounds test fails.If second operand is not a memory location.If a memory operand effective address is outside the CS, DS, ES, FS, or GS segment limit.If a memory operand effective address is outside the SS segment limit.Virtual-8086 Mode Exceptions#BR#UD#GP(0)#SS(0)#PF(fault-code)#AC(0)If the bounds test fails.If second operand is not a memory location.If a memory operand effective address is outside the CS, DS, ES, FS, or GS segment limit.If a memory operand effective address is outside the SS segment limit.If a page fault occurs.If alignment checking is enabled and an unaligned memory reference is made.Compatibility Mode ExceptionsSame as protected mode exceptions.2-42 Vol. 1

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

Saved successfully!

Ooh no, something went wrong!