18ECC203J - Unit 1 S - 3
18ECC203J - Unit 1 S - 3
Prepared by,
Dr. R. Manohari
Dr.T.Rajalakshmi
S–3
Architecture of 8086
Microprocessor
3 Functional blocks
Computational Unit;
performs arithmetic and
Various conditions of the
results are stored as
Internal storage of data
status bits called flags in
logic operations
flag register
BIU contains
1. Instruction Byte Queue (6 bytes long)
2. Segment Registers
3. Instruction Pointer
4. Circuit for physical address calculations
Segment Registers (S – 2)
The queue is updated after every byte is read from the queue but the fetch
cycle is initiated by BIU only if at least two bytes of the queue are empty
and the EU may be concurrently executing the fetched instructions.
The next byte after the instruction is completed is again the first opcode
byte of the next instruction.
A similar procedure is repeated till the complete execution of the program.
The fetch operation of the next instruction is overlapped with the execution
of the current instruction.
While the execution unit is busy in executing an instruction, after it is
completely decoded, the bus interface unit may be fetching the bytes of the
next instruction from memory, depending upon the queue ststus.
Execution Unit
It contains:
1. Control Circuitry
2. Instruction Decoder
3. Arithmetic Logic Unit (ALU)
4. Flag Register
5. General Purpose Registers
6. Pointers and Index Registers
Control Circuitry, Instruction Decoder,
ALU
Control Circuitry in the EU directs the internal
operations
A Instruction decoder translates instructions
fetched from memory into a series of actions which
the EU carries out
16 bit arithmetic logic unit can add, subtract, AND,
OR, XOR, increment, decrement, complement or shift
binary numbers
Register Organization of 8086
Flag Register (S – 2)