Search notes:

Instruction pointer

The instruction pointer points to the next instruction to be executed by the CPU. Technically, it contains the offset in the current code segment*.
Sometimes, the instruction pointer is also referred to as program counter.
The value of the instruction pointer can be changed with the call, ret, jmp, Jcc instructions.
In x86, the eip cannot be accessed »directly« with assembly, however, the rip (x64) can.

See also

Assembler (x86/x64), x86/x64 assembler: registers

Index