Assembly Instruction Set Categories and Functions
🧾 Data Transfer Instructions
These instructions are used to move data between registers, memory, and I/O ports.
Instruction | Use |
---|---|
MOV | Transfer data between registers or memory locations |
PUSH / POP | Perform stack operations (store/retrieve data) |
XCHG | Exchange contents of two operands |
IN / OUT | Input from or output to a port |
LEA | Load Effective Address |
LDS / LES | Load Pointer and Segment Register |
XLAT | Translate byte using a lookup table |
➕ Arithmetic Instructions
These instructions perform basic mathematical operations.
Instruction | Use |
---|---|
ADD / SUB | Addition / Subtraction |
ADC / SBB | Add/Subtract with Carry/Borrow |
INC / DEC | Increment / Decrement a value |
MUL / IMUL | Unsigned / Signed Multiplication |
DIV / IDIV | Unsigned / Signed Division |
NEG | Two's Complement (Negation) |
CMP | Compare operands |