Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
icroprocessor
History of Microprocessor
Microprocessor journey started with a 4-bit processor
called 4004, it was made by Intel corporation in 1971. It
was 1st single chip processor. Then the idea was
extended to 8-bit processors like 8008, 8080 and then
8085 (all are Intel products). 8085 was a very successful
one among the 8-bit processors, however its application
is very limited because of its slower computing speed and
other
quality
factors.
Some years later Intel came up with its 1st 16-bit
processors 8086.
Intel
8086:
Architecture
The 80x86 has:
16-bit internal data bus
20-bit address bus: 220 = 1,048,576 = 1 megabyte
Control bus
Execution Unit
Bus Interface Unit
Among the on-chip peripherals are:
2 direct memory access controllers (DMA)
Three 16-bit programmable timers
Clock generator
Chip select unit
Programmable Control Registers
The 8086
Processor Model
8086 Architecture
8086 Architecture
8086 Architecture
Instruction Queue
It is of 6 Bytes.
To increase the execution speed, BIU fetches as many
as six instruction bytes ahead to time from memory.
It operates on the principle first in first out (FIFO).
Then all bytes are given to EU one by one.
This pre-fetching operation of BIU may be in parallel
with execution operation of EU.
8086 Architecture
8086 Architecture
II.
8086 Architecture
III.
Registers of 8086
General Purpose Registers
8
8086 Architecture
AX
BX
CX
DX
AH
AL
BH
BL
CH
CL
BH
DL
1. AX
Register: AX register is
also known as accumulator register that stores operands
for arithmetic operation like divided, rotate.
2.BX Register: This register is mainly used as a base
register. It holds the starting base location of a memory
region within a data segment.
8086 Architecture
8086 Architecture
Segment Register
There are four segment registers in Intel 8086:
1. Code Segment Register (CS),
2. Data Segment Register (DS),
3. Stack Segment Register (SS),
4. Extra Segment Register (ES).
8086 Architecture
8086 Architecture
Instruction Pointer
The Instruction Pointer (IP) in 8086 acts as a Program
Counter. It points to the address of the next instruction to
be executed. Its content is automatically incremented
when the execution of a program proceeds further. The
contents of the IP and Code Segment Register are used to
compute the memory address of the instruction code to
be fetched. This is done during the Fetch Cycle.
13
8086 Architecture
Status Flags
Status Flags determines the current state of the
accumulator. They are modified automatically by CPU
after mathematical operations. This allows to determine
the type of the result. 8086 has 16-bit status register. It is
also called Flag Register or Program Status Word (PSW).
There are nine status flags and seven bit positions remain
unused.
The following Figure shows the bit definitions for the 16bit flag register.
14
8086 Architecture
15
8086 Architecture