Professional Documents
Culture Documents
In 8086 CPU is divided into two independent functional parts BIU and EU.
Dividing the work between these two units’ speeds up the processing.
2) EU (Execution Unit)
Components of EU
ALU (Arithmetic logic Unit)
- Contains 16-bit ALU, that performs add, subtract, increment, decrement, compliment,
shift binary numbers, AND, OR, XOR etc.
CU (Control Unit)
- Directs internal operation
Flag Register
- 16-bit flag register
- EU contains 9 active flags
General Purpose Registers (GPR)
- EU has 4 general purpose 16-bit register
- i.e. AX, BX, CX, DX
- each register is the combination of two 8-bit register
- AH, AL, BH, BL, CH, CL, DH, DL where ‘L’ means Lower byte and ‘H’ means higher
byte.
Index Register
- 16-bit Register is SI (source index) and DI (destination index).
- Both the register used for string related operation and for moving block of memory
from one location to the other.
Pointers
- 16-bit Register.
- i.e. SP (stack pointer), BP (base pointer)
- BP : is used when we need to pass parameter through stack
- SP: It always points to the top of the stack. Used for sequential access of stack
segment.