13.07.2015 Views

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

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

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AMD64 Technology 24594 Rev. 3.10 February 2005}// concatenate both halves of RIP}CS = READ_DESCRIPTOR (temp_desc.segment, clg_chk)// set up new CS base, attr, limitsIF ((64BIT_MODE) && (temp_RIP is non-canonical)|| (!64BIT_MODE) && (temp_RIP > CS.limit))EXCEPTION [#GP(0)]RIP = temp_RIPEXITRelated <strong>Instructions</strong>JMP (Near), Jcc, JrCXrFLAGS AffectedNone, unless a task switch occurs, in which case all flags are modified.ExceptionsVirtualException Real 8086 Protected Cause of ExceptionInvalid opcode, #UD X X X The far JUMP indirect opcode (FF /5) had a register oper<strong>and</strong>.Segment not present,#NP (selector)XXThe far JUMP direct opcode (EA) was executed in 64-bit mode.The accessed code segment, call gate, task gate, or TSS was notpresent.Stack, #SS X X X A memory address exceeded the stack segment limit or was noncanonical.<strong>General</strong> protection,#GPXXXA memory address exceeded a data segment limit or was non-canonical.XXXThe target offset exceeded the code segment limit or was non-canonical.XA null data segment was used to reference memory.176 JMP (Far)

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

Saved successfully!

Ooh no, something went wrong!