JMP

By Vesper Vei
1 minute read

Table of Contents

  1. JMP (jmp)
    1. Basic function
    2. Instruction execution process
    3. Instruction format
    4. Behavioral characteristics
    5. Common uses

JMP (jmp)

Basic function

JMP unconditionally jumps to the specified address (immediate value, register, or memory address).
It changes the direction of RIP and is one of the most fundamental control-flow instructions.

Instruction execution process

Instruction format

jmp rel32 ; 相对跳转
jmp rax ; 寄存器间接跳转
jmp [rax] ; 内存间接跳转
jmp qword ptr [...] ; 绝对跳转

Behavioral characteristics

Common uses



Relationship Graph

Loading graph...