Professional Documents
Culture Documents
Chapter-4: Microprocessor: 8086 and Modern Microprocessors
Chapter-4: Microprocessor: 8086 and Modern Microprocessors
(12 Marks )
Memory
1) 4-Bit Microprocessors
2) 8-Bit Microprocessors
3) 16-Bit Microprocessors
4) 32-Bit Microprocessors
5) 64-Bit Microprocessors
Salient Features of 8086 Microprocessor :-
1. It is 16 bit Microprocessor(i.e. it can read or write or
perform arithmetic and logical operations on 16-bit
data at a time).
2. It has a 16-bit data bus and 20-bit address bus.
Hence it can access upto (2^20=1MB) memory
location.
3. Operating Clock Frequencies are 5 MHz, 8 MHz or 10
MHz.
●
RQ/GT0 have higher priority than RQ/GT1.
●
LOCK:
● Its an active low pin.
TEST :-
It is an active low pin.
This signal is used to test the status of math co-processor
8087.
Vcc – Power Supply ( +5V D.C.)
GND – Ground
QS1, QS0 (Queue Status):-
These signals indicate the status of the internal 8086
instruction queue according to the table shown below:
QS1 QS0 Status
0 0 No Operation
S2 S1 S0 Status
0 0 0 INTA
0 0 1 I/O Read
0 1 0 I/O Write
0 1 1 HALT
1 0 0 Opcode Fetch
1 0 1 Memory Read
1 1 0 Memory Write
1 1 1 Passive
Block Diagram of 8086 Microprocessor
OR
Functions of BIU :-
● The BIU performs all bus operations such as instruction
● They can also be used for storage for 16-bit data words
as groups: AX register (AH and AL), BX register (BH and
BL),CX register (CH and CL) and DX register (DH and
DL).
Other Registers:
● The other four registers are referred to as index /
pointer registers such as SP, BP, SI and DI.
● They are Stack Pointer register , Base Pointer register,
Source Index register and Destination Index registers.
ALU(Arithmetic and Logical Unit): -
ALU is used to perform arithmetic and logical
operations on 8 bit as well as 16 bit data.
Address generator: -
This unit is used to generate 20 bit physical address
by adding 16 bit logical address displacement with
base address.
Instruction Decoder:-
This unit is used to decode or convert the
instructions and provides signals to various units in
the EU.
Segment Registers of 8086:-
BIU has 4 segment registers of 16 bits each i.e
●
It is used to increase the execution speed of computer
system.
●
Programs and data can be stored separately.
●
Segmentation allows two processes to share data.
Physical Memory address Generation :-
***Explain the concept of physical address calculation with
suitable diagram and example.**
i) 4370 : 561E
4 8 D1 E – Physical Address
HW
iii)DS:A000H BX:2000H
iv)CS:1000H IP:2000H
V) CS:69FAH IP:834CH
Vi) DS:C239H SI:8ABCH
Vii)CS:1200H IP:DE00H
Viii) DS:1F00H BX:1A00H
● The contents of the following registers are:
CS = 1111 H
DS = 3333 H
SS = 2526 H
IP = 1232 H
SP = 1100 H
DI = 0020 H
Calculate the corresponding physical
addresses for the address bytes in CS, DS
and SS.
●
Concepts of Pipelining :-
● Fetching the next instruction while the current instruction
is executing is called as pipelining.
● Because of this execution time will be reduced.
● Ultimately it improves the execution speed of the
processor.
● In pipelined processor, fetch, decode and execute
operations are performed in parallel.
● In 8086, pipelining is implemented by providing 6 byte
instruction queue where 6 one byte instructions can be
stored well in advance and then one by one instruction
goes for decoding and execution.
● In this way 8086 perform fetch, decode and execute
operation in parallel.
Advantages of Pipelining :-
● Pipelining enables many instructions to be executed at the
same time.
● It allows execution to be done in fewer clock cycles.
● Speed up the execution speed of the processor.
● More efficient use of processor.
CISC Processor :-
● CISC stands for Complex Instruction Set Computer
● Features of CISC Processors:
1. CISC chips have complex instructions.
2. CISC processors have a variety of instructions
3. CISC machines generally make use of complex addressing modes.
4. CISC processors have variable length instructions
5. Easier compiler design
6. CISC processors are having limited number of registers.
7. Intel uses CISC Chips.
Examples of CISC processors are:
Intel 386, 486, Pentium, Pentium Pro, Pentium II, Pentium III etc.
RISC Processor :-
● RISC stands for Reduced Instruction Set Computer
● Features of RISC Processors:
1. RISC processors use a small and limited number of instructions.
2. RISC processors consume less power and have high performance.
3. Each instruction is very simple and consistent.
4. RISC processors use simple addressing modes.
5. RISC instruction is of uniform fixed length.
6. Large Number of Registers.
7. Apple uses RISC chips.
Examples of RISC processors are: IBM RS6000, MC88100 ,DEC’s
Alpha 21064, 21164 and 21264 processors.
Compare CISC and RISC Processors :-
●
Instruction Pointer(IP) :
It is a 16-bit register which always points to the next instruction
to be executed within the currently executing code segment.
Question :-Write use of index registers, base
pointer and instruction pointer.
Pointer Registers:-
● There are two 16 bit pointer registers: Stack Pointer (SP) and