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.

INS/INSB/INSW/INSD—Input from Port to StringOpcode Instruction <strong>64</strong>-Bit Mode Compat/Leg DescriptionMode6C INS m8, DX Valid Valid Input byte from I/O port specified in DX into memorylocation specified in ES:(E)DIREX.W + 6C INS m8, DX Valid N.E. Input byte from I/O port specified in DX into memorylocation specified in RDI6D INS m16, DX Valid Valid Input word from I/O port specified in DX into memorylocation specified in ES:(E)DI6D INS m32, DX Valid Valid Input doubleword from I/O port specified in DX intomemory location specified in ES:(E)DIREX.W + 6D INS m32, DX N.P. N.E. Input default size from I/O port specified in DX intomemory location specified in RDI6C INSB Valid Valid Input byte from I/O port specified in DX into memorylocation specified with ES:(E)DIREX.W + 6C INSB Valid N.E. Input byte from I/O port specified in DX into memorylocation specified with RDI6D INSW Valid Valid Input word from I/O port specified in DX into memorylocation specified in ES:(E)DI6D INSD Valid Valid Input doubleword from I/O port specified in DX intomemory location specified in ES:(E)DIREX.W + 6D INSD N.P. N.E. Input default size from I/O port specified in DX intomemory location specified in RDIFlags AffectedNone.IA-32e Mode OperationDefault operand size is 32 bits and is not promoted by REX.W.<strong>64</strong>-bit mode enables the use of RDI.Protected Mode Exceptions#GP(0)#PF(fault-code)#AC(0)If the CPL is greater than (has less privilege) the I/O privilege level (IOPL) and any of thecorresponding I/O permission bits in TSS for the I/O port being accessed is 1.If the destination is located in a nonwritable segment.If an illegal memory operand effective address in the ES segments is given.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) If any of the I/O permission bits in the TSS for the I/O port being accessed is 1.#PF(fault-code)#AC(0)If a page fault occurs.If alignment checking is enabled and an unaligned memory reference is made.2-260 Vol. 1

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

Saved successfully!

Ooh no, something went wrong!