Jump to content

x86 Assembly/X86 Instructions

From Wikibooks, open books for an open world

These pages are going to discuss, in detail, the different instructions available in the basic x86 instruction set. For ease, and to decrease the page size, the different instructions will be broken up into groups, and discussed individually.

If you need more info, go to [1].

Conventions

The following template will be used for instructions that take no operands:

Instr

The following template will be used for instructions that take 1 operand:

Instr arg

The following template will be used for instructions that take 2 operands. Notice how the format of the instruction is different for different compilers.

Instr src, dest GAS Syntax
Instr dest, src Intel Syntax