Professional Documents
Culture Documents
Today's Content: Microprocessor Notes Lecture #1
Today's Content: Microprocessor Notes Lecture #1
Lecture #1
Today’s Content
Introduction to processor
8086 micro processor
Features of 8086
Pin description of 8086
8086 Architecture
Pipelining
Memory segmentation
Pro tip for MIC paper : जो समझ में ना आएं उसको याद कर लो
contains the arithmetic, logic, and control circuitry necessary to perform the
functions of a digital computer’s central processing unit. In effect, this kind
of integrated circuit can interpret and execute program instructions as well as
handle arithmetic operations.
8086 Microprocessor
It supports two modes of operation, i.e. Maximum mode and Minimum mode.
Maximum mode is suitable for system having multiple processors and
Minimum mode is suitable for system having a single processor.
o 8086 → 5MHz
o 8086-2 → 8MHz
o (c)8086-1 → 10 MHz
It uses two stages of pipelining, i.e. Fetch Stage and Execute Stage,
which improves performance.
Pin Description
8086 was the first 16-bit microprocessor available in 40-pin DIP (Dual Inline
Package) chip. The 8086 uses 20-line address bus. It has a 16-line data bus.
The 20 lines of the address bus operate in multiplexed mode. The 16-low order
address bus lines have been multiplexed with data and 4 high-order address
bus lines have been multiplexed with status signals.
A16-A19 : High order address bus. These are multiplexed with status signals.
RD’: This is used for read operation. It is an output signal. It is active when
low.
READY : This is the acknowledgement from the memory or slow device that
they have completed the data transfer. The signal made available by the
devices is synchronized by the 8284A clock generator to provide ready input
to the microprocessor. The signal is active high.
INTR : Interrupt Request. This is triggered input. This is sampled during the
last clock cycles of each instruction for determining the availability of the
request. If any interrupt request is found pending, the processor enters the
interrupt acknowledge cycle. This can be internally masked after resulting the
interrupt enable flag. This signal is active high(1) and has been synchronized
internally.
NMI : Non maskable interrupt. This is an edge triggered input which results in
a type II interrupt. A subroutine is then vectored through an interrupt vector
lookup table which is located in the system memory. NMI is non-maskable
LOCK’ : Its an active low pin. It indicates that other system bus masters have
not been allowed to gain control of the system bus while LOCK’ is active
low(0). The LOCK signal will be active until the completion of the next
instruction.
TEST’ : This examined by a ‘WAIT’ instruction. If the TEST pin goes low(0),
execution will continue, else the processor remains in an idle state. The input
is internally synchronized during each of the clock cycle on leading edge of
the clock.
CLK : Clock Input. The clock input provides the basic timing for processing
operation and bus control activity. Its an asymmetric square wave with a 33%
duty cycle.
GND : Ground
QS1,QS0 : Queue Status. These signals indicate the status of the internal 8086
instruction queue.
DEN : Data enable. This pin is provided as an output enable for the 8286/8287
in a minimum system which uses transceiver. DEN is active low(0) during
each memory and input-output access and for INTA cycles.
It provides the interface of 8086 to external memory and I/O devices via the
System Bus. It performs various machine cycles such as memory read, I/O
read etc. to transfer data between memory and I/O devices.
The main components of the EU are General purpose registers, the ALU,
Special purpose registers, Instruction Register and Instruction Decoder and the
Flag/Status Register.
AX register:
It holds operands and results during multiplication and division operations.
Also an accumulator during String operations.
BX register:
It holds the memory address (offset address) in indirect addressing modes.
CX register:
DX register:
It is used with AX to hold 32 bit values during multiplication and division.
Stack Pointer:
Points to Stack top. Stack is in Stack Segment, used during instructions like
PUSH, POP, CALL, RET etc.
Base Pointer:
BP can hold offset address of any location in the stack segment. It is used to
access random locations of the stack.
Source Index:
It holds offset address in Data Segment during string operations.
Destination Index:
It holds offset address in Extra Segment during string operations.
The Bus Interface Unit (BIU) contains four 16 bit special purpose registers
(mentioned below) called as Segment Registers.
Stack Segment Register (SS): is used for addressing stack segment of the
memory. The stack segment is that segment of memory which is used to
store stack data.
The process of fetching the next instruction when the present instruction
isbeing executed is called as pipelining.
Pipelining has become possible due to the use of queue.BIU (Bus
Interfacing Unit) fills in the queue until the entire queue is full.BIU
restarts filling in the queue when at least two locations of queue are
vacant