ENCYCLOPEDIA 4U .com



Encyclopedia Home Page

Google
  Web Encyclopedia4u.com

 

X86-jmp

  • check: do long jumps and near have 4 and 2 byte offset?

"JMP" is a mnemonic used in x86 assembly language.

unconditional jump (JuMP) to the address that follows, like this:

JMP 0x89AB          ; loads IP with the new value 0x89AB
JMP 0xACDC:0x5578   ; loads CS with 0xACDC and IP with 0x5578
                    ; only works in real mode

JMP 0x56789AB1 ; loads IP with the value 0x56789AB1 ; only works in protected mode

We divide jump instructions into short jumps (one byte offset), near jumps (two byte offset?) long jumps (4bytes?) and far jumps (2 bytes segment / selector and full IP / EIP).

JMP $ is commonly used to hang the computer.

See also: conditional jumps.





Content on this web site is provided for informational purposes only. We accept no responsibility for any loss, injury or inconvenience sustained by any person resulting from information published on this site. We encourage you to verify any critical information with the relevant authorities.



Copyright © 2005 Par Web Solutions All Rights reserved.
| Privacy

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "X86-jmp".