Skip to content

X86 Jmp Opcode [upd]

It performs a relative jump. The byte following EB is a signed 8-bit integer (from -128 to +127).

If you're writing an assembler, disassembler, or emulator, here are the exact bit patterns:

IP soon learned that JMP came in different styles, like different types of magic boots:

This jumps to a function’s entry in the Global Offset Table (GOT). The first time, it points back to a resolver; afterward, it points to the actual function.