Module x86_64::instructions[][src]

Expand description

Special x86_64 instructions.

Modules

Enabling and disabling interrupts

Access to I/O ports

Support for build-in RNGs

Provides functions to read and write segment registers.

Functions to load GDT, IDT, and TSS structures.

Functions to flush the translation lookaside buffer (TLB).

Functions

Emits a ‘magic breakpoint’ instruction for the Bochs CPU emulator. Make sure to set magic_break: enabled=1 in your .bochsrc file.

Halts the CPU until the next interrupt arrives.

Executes the nop instructions, which performs no operation (i.e. does nothing).

read_ripnightly or inline_asm

Gets the current instruction pointer. Note that this is only approximate as it requires a few instructions to execute.