Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ... Volume 3: General-Purpose and System Instructions - Stanford ...

scs.stanford.edu
from scs.stanford.edu More from this publisher
13.07.2015 Views

AMD64 Technology 24594 Rev. 3.10 February 2005Mnemonic Opcode DescriptionINS mem8, DXINS mem16, DXINS mem32, DXINSBINSWINSDRelated InstructionsIN, OUT, OUTSxrFLAGS AffectedNone6C6D6D6C6D6DInput a byte from the port specified by DX, put it into thememory location specified in ES:rDI, and then increment ordecrement rDI.Input a word from the port specified by DX register, put it into thememory location specified in ES:rDI, and then increment ordecrement rDI.Input a doubleword from the port specified by DX, put it into thememory location specified in ES:rDI, and then increment ordecrement rDI.Input a byte from the port specified by DX, put it into thememory location specified in ES:rDI, and then increment ordecrement rDI.Input a word from the port specified by DX, put it into thememory location specified in ES:rDI, and then increment ordecrement rDI.Input a doubleword from the port specified by DX, put it into thememory location specified in ES:rDI, and then increment ordecrement rDI.154 INSx

24594 Rev. 3.10 February 2005 AMD64 TechnologyExceptionsExceptionGeneral protection,#GPRealXVirtual8086 Protected Cause of ExceptionXXA memory address exceeded a data segment limit or was non-canonical.XOne or more I/O permission bits were set in the TSS for the accessedport.XXThe CPL was greater than the IOPL and one or more I/O permissionbits were set in the TSS for the accessed port.A null data segment was used to reference memory.X The destination operand was in a non-writable segment.Page fault, #PF X X A page fault resulted from the execution of the instruction.Alignment check, #AC X X An unaligned memory reference was performed while alignmentchecking was enabled.INSx 155

AMD64 Technology 24594 Rev. 3.10 February 2005Mnemonic Opcode DescriptionINS mem8, DXINS mem16, DXINS mem32, DXINSBINSWINSDRelated <strong>Instructions</strong>IN, OUT, OUTSxrFLAGS AffectedNone6C6D6D6C6D6DInput a byte from the port specified by DX, put it into thememory location specified in ES:rDI, <strong>and</strong> then increment ordecrement rDI.Input a word from the port specified by DX register, put it into thememory location specified in ES:rDI, <strong>and</strong> then increment ordecrement rDI.Input a doubleword from the port specified by DX, put it into thememory location specified in ES:rDI, <strong>and</strong> then increment ordecrement rDI.Input a byte from the port specified by DX, put it into thememory location specified in ES:rDI, <strong>and</strong> then increment ordecrement rDI.Input a word from the port specified by DX, put it into thememory location specified in ES:rDI, <strong>and</strong> then increment ordecrement rDI.Input a doubleword from the port specified by DX, put it into thememory location specified in ES:rDI, <strong>and</strong> then increment ordecrement rDI.154 INSx

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

Saved successfully!

Ooh no, something went wrong!