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.

BSR—Bit Scan ReverseOpcode Instruction <strong>64</strong>-Bit Mode Compat/Leg DescriptionMode0F BD BSR r16,r/m16 Valid Valid Bit scan reverse on r/m160F BD BSR r32,r/m32 Valid Valid Bit scan reverse on r/m32REX.W + 0F BD BSR r<strong>64</strong>,r/m<strong>64</strong> Valid N.E. Bit scan reverse on r/m<strong>64</strong>Flags AffectedThe ZF flag is set to 1 if all the source operand is 0; otherwise, the ZF flag is cleared. The CF, OF, SF, AF, and PF, flagsare undefined.IA-32e Mode OperationInstruction is promoted to <strong>64</strong>-bits.Default Operation Size is 32 bitsEnables access to new registers R8-R15.Protected Mode Exceptions#GP(0)#SS(0)#PF(fault-code)#AC(0)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#GP#SSIf 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#GP(0)#SS(0)#PF(fault-code)#AC(0)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.<strong>64</strong>-Bit Mode Exceptions#SS(0)#GP(0)#PF(fault-code)#AC(0)If a memory address referencing the SS segment is in a non-canonical form.If the memory address is in a non-canonical form.If a page fault occurs.If alignment checking is enabled and an unaligned memory reference is made while thecurrent privilege level is 3.Vol. 1 2-45

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

Saved successfully!

Ooh no, something went wrong!