Complete Notes of Microprocesser
Complete Notes of Microprocesser
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 2
Chapter No-1
Basic of Microprocessor
With the rapid advances in semiconductor technology it became possible to fabricate
whole CPU of a digital computer on a single chip using LSI or VLSI technology. The term LSI
refer to ICs containing component usually transistor in the range of 1000-10,000.
A VLSI chip contain more then 10,000 transistor. A CPU built into a single LSI or VLSI
chip is called a microprocessor.
A digital computer whose CPU is a microprocessor is called as microcomputer. A
microprocessor combined with memory and input/output devices forms a microcomputer.
When all the functional components of the CPU are fabricated on a single silicon
chip using microelectronics technology ie LSI or VLSI is called MICROPROCESSOR.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 3
This is necessary for reliable software design. Some microprocessors can distinguish
between program, data and Stack memories and hence the software design becomes simple.
Program Memory
It is used to store all programs (system software and user software). It consists of ROM
and RAM chips.
ROM is used to store system programs.
RAM is used to store user or application programs. In PC system, RAM is also used to
store disk operating system software temporarily.
Data Memory : It is used to store data (operands and results). It consists of ROM and RAMS
chips.
ROM is used to store fixed data like look up tables, codes constants, etc.
RAM is used to store variable data.
RAM can be used as a scratch pad memory.
Stack Memory
It is used by the CPU to store contents of registers
temporarily. It contains only RAM chips. It operates in LIFO
mode (Last In First Out mode) i.e. it can read saved byte first.
This is the property of the Stack as shown in Fig.
I/O unit
It is used to interface external peripherals to the microprocessor. It provides I/O ports and
interface circuitry.
I/O ports are used to transfer binary information between the microprocessor and the
peripherals.
The interface circuitry converts voltages and currents of the external peripheral into
digital form or vice versa.
The microprocessor may communicate with external peripherals via two or more I/O
ports.
The I/O unit can be implemented b using buffers, latches and LSI or VLSI interface chips.
Input unit is used by I/O peripherals like keyboard while the Output unit is used to
interface output peripherals like display.
There are two types of I/O units viz, general purpose and special purpose.
I. The general purpose I/O unit is used to interface any type of peripherals while
II. special purpose I/O unit is used to interface specific types of peripherals, example is
printer interface unit which is used to interface a printer. So, the I/O unit is an important
part of the microcomputer.
System bus
It is a group of conductors. It is used to transfer information (electrical signal ) between
two units. It consists of Data Bus, Address Bus and Control Bus.
Data bus : It is a bidirectional bus. It is used to transfer data between two units. The
length of a microcomputer depends upon the width of the Data Bus (number of data lines). It
has three levels, viz. Logic 0, logic 1 and HIGH IMPEDANCE.
Control bus : It consists of input and output control signals. The main control signals are Read
and Write. These signals are used to control the operation of the microcomputer. It is also used
to synchronize all operations.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 4
Bus Slave
It is a device which responds to the Bus Master. It accepts address and control signals
from the Bus Master. It does not control timings and events of the microcomputer, examples are
memory unit and I/O unit.
In a single board microcomputer, all units are mounted on one PCB, while in a
multiboard computer, CPU, some part of the memory and I/O are mounted on the main board
(mother board)and additional memories and special purpose I/O interfaces are mounted on
small PCBs adaptor cards).
Processor to memory band width : This parameter decides the speed of microcomputer. ,.I
It is the number of bytes to be transferred between, a microprocessor and the
memory.
This parameter depends upon the memory access time of a microprocessor, band
width of the PCB (maximum frequency of PCB) and word length.
This bandwidth should be maximum. The band width is measured in terms
bytes/second.
Processor to I/O band width : It is the number of bytes to be transferred between the processor
and I/O unit. This parameter is not fixed.
This parameter depends upon the I/O access time of a microprocessor, bandwidth
adaptor cards and word length of I/O interfaces.
The actual value of this parameter depends upon the speed of the peripherals. The
unit of this parameter is bytes/second.
Throughput : It is the number of tasks to be executed in one second. The task is a set of
programs including I/O programs.
This parameter depends upon the system software, process scheduling, microprocessor speed,
bandwidth (processor to memory and processor to I/O), word length, etc.
Memory storage capacity : The maximum size of memory unit depends upon the
number of address lines provided by the microprocessor,
Example
N = 2K where N is the number of memory locations and k is the number of address
Lines.
I/O unit capacity : The maximum size of the VO unit depends upon the number of I/O address
bits available in I/O instructions,
N = 2P where N is the number of I/O ports and P is the number of address bits present in at I/O
instruction.
Power consumption : It is the power consumed by all units of the microcomputer. This
parameter depends upon the complexity of the system and simultaneous operations of the
system. To save power, the microcomputer should be operated in a stand by mode.
Q.What architecture means and list various functions performed by Architecture & Its
Operation ?
Ans. A micro-processor is a semiconductor chip or a chip set that implements the central
processor of the computer. It is the heart of a microcomputer . Microprocessor consist of at a
minimum an ALU ( arithmetic and logic unit) and a control unit(CU).Thus a central processing
unit (CPU) built into a single LSI or VLSI chip is called a microprocessor. Or When all the
functional component of CPU are fabricated on the single silicon chip using microelectronics
technology is called as microprocessor.
The microprocessor is a programmable logic device designed with flip-flop, registers and
timing elements. A microprocessor has a set of instructions designed internally to manipulate
data and communicate with peripherals, the process of data manipulation and communication
is determined by logic design of microprocessor called the architecture logic
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 5
Design of microprocessor called the architecture. In addition to internal operation
microprocessor can respond to external signals that is it can be interrupted, reseted or asked to
wait, so as to Synchronize with slower peripherals. The various functions performed by
microprocessor can be classified in these general categories: -
1> Microprocessor initiated signal.
2> Internal data operation.
3> Peripheral or externally initiated operations.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 6
These microprocessors were designed using the HMOS (High density MOS) technology.
The HMOS is four times faster than NMOS. The density of HMOS is also doubled.
In 1980, the fourth generation microprocessors evolved. Intel introduced the first 32 bit
viz. Intel 486.
In 1985, Motorola M6 68020/68030/68040 and the Intel 80386/80486 were introduced.
They provide cache memory features. Also, Intel and Motorola introduced a 32 bit RISC
(Reduced Instruction Set Computer) microprocessor (Intel 80960 and Motorola 88100) with
simplified instruction sets.
In 1993, the IBM/Apple introduced the Power PC 603 processor having (64 bit Data Bus).
In 1998, Intel introduced the Pentium and Celeron processors.
Nowadays, Intel processors like Pentium I Pentium III and Pentium IV have captured the whole
market of microprocessors.
1.Address bus
2.Multiplexed address data bus
3.Control and status signal
4.Power supply and frequency signal
5.Interrupt and peripheral initiated signal
6.Serial IO signal
Q.Describe Multiplexed Address/data Bus and Undirectional Address bus
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 7
Ans. 16 bit address is generated by two set of busses those are
1. Multiplexed Address / Data Bus (AD0-7)
2. Unidirectional Address bus(A8-15)
RD (pin 32)
This is a read control signal which is active low (negative going). A low level on RD
indicates that the selected memory or I/O device to perform read operation and the data bus
is available for data transfer.
WR (pin 31 )
This is a write control signal which is active low (negative going). A low level on WR
indicates that data on the data Bus is to be written in selected memory or I/O location
IO/M ( pin 34 )
This is status signal use to differentiate between memory and I/O operation. When this
signal is low it indicates memory operation and when this signal is high it indicates I/O
operation
These three control lines, RD, WR and IO/M functions together. TABLE show the truth table
Truth table for memory and I/O control
IO/M WR RD Action
0 1 0 Memory read
0 0 1 Memory write
1 1 0 I/o read
1 0 1 I/o write
X 0 0 Illegal
X 1 1 No memory or I/O access
Example :- During memory write, IO/M goes low(0), RD goes high (1), and WR goes low(0).
Remember that RD and WR never be active simultaneously. The last line of the truth table
indicates that the microprocessor is not currently accessing memory or I/O.
S1 , S0 (PIN 33 , 29) : S0 and S1 are status output pins. They indicate to the outside world
the current operation being performed by the 8085. Using S0, S1 and IO/M, advance
information of the 8085
IO/M S1 S0 Status
0 0 1 Memory write
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 8
0 1 0 Memory read
1 0 1 I/o write
1 1 0 I/o read
0 1 1 Opcode fetch
1 1 1 Interrupt acknowledge
* 0 0 Halt
* X X Hold
* X X Reset
* - tri state (high impedance) X - unspecified
Activities can be decoded. Table shows the machine cycle status. Most 8085 circuits do not
make use of the status pins. i.e rarely used
Q.List and Describe Power Supply And Clock Frequency Signals 0f 8085
Ans.To make µp compatible with TTL power supplies, the 8085 requires only a VCC of +5v and
ground. Ground is called VSS (substrate voltage) because the 8085 is a MOS device.
VCC ( pin 40) : +5 volt power supply
VSS ( pin 20) : Ground reference .All signals are measured or checked with respect to this pin.
X1 ,X2 (PIN 1,2 ):The 8085 does not require an external clock generator ,crystal is connected
between the X1 and X2 inputs of the 8085. The input frequency of the crystal is divided by 2 to
produce the internal reference frequency. The CLK OUT is a same frequency of the 8085's
internal clock. It is used to synchronize the rest of system to the 8085. Maximum operating
clock frequency of 8085 is 3.125 Mhz. Which can be obtain by connecting crystal of 6.25 Mhz
between X1 and X2.
Q.List and Describe signals responsible for Serial I/O Communication in 8085
Ans.The 8085 has two signal for implementing the serial transmission
1.SID ( serial input data )
2.SOD (serial output data )
SID (pin 5 ) : This is a serial input data line. The data on this line is loaded into bit 7 of
accumulator whenever a RIM instruction is executed.
SOD (pin 4 ):This is a serial output data line. The output sod is set or reset as specified by SIM
instruction.
Q.Draw the Architecture of 8085 and List the different block of 8085 and Describe
Ans.Architecture of 8085
8085 is an 8-bit microprocessor , it has 40 pins fabricated on single LSI chip .8085
operates with single +5V DC supply and its clock speed is about 3.125Mhz .The architecture
shows following functional units :-
1> Timing and Control Unit
2> Arithmetic and Logic Unit
3> Address and Data buffer
4> Instruction Register and Decoder
5> CPU Register Array
6> Interrupt Control and
7> Serial Control
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 10
and generate signals necessary for communication between the microprocessor between
peripherals. It also generates RD and WR indicating availability of data on data bus
Address and Data Buffer
The 8085 contains unidirectional address bus buffer and a bi-directional data bus buffer.
These buffers isolate the internal bus system of the 8085 from the external system bus and
provide enough current gain to drive few memory and I/O chips.
Arithmetic and Logic Unit
The ALU carries out the arithmetic and logic operations i.e computing function. The
arithmetic operation performed are addition, subtraction, increment, decrement etc.
The logical operation performed are AND, OR, EXOR, Complement ,shift Compare etc .
ALU consist of
1. Accumulator
2. Temporary Register
3. Flag register
Accumulator
Accumulator is a 8 bit register. The results of nearly all arithmetic and logical operations
on data are stored in the accumulator.. Also accumulator is used as one of the source register
for arithmetic and logical operation .It is also called as register A. It is the only register for which
there are rotate instructions. It is used to enable and disable the interrupt system. It is only
register to have data transfer between input and output devices. It is accessible to user through
instruction.
Temporary Register
Temporary register is 8 bit register. This register stores the operands of arithmetic and
logic operation for short period of times. This register is not available to the programmer.
Flag Register
The flag register contains five single bit flags, and three unused bits The flags are affected
by the arithmetic and logic operation in ALU. In most of these operation result is stored in
accumulator , therefore the flags generally reflects data condition in the accumulator with some
exception. The five flags are
1. S - Sign Flag
2. Z – Zero Flag
3. Ac-Auxiliary carry Flag
4. P – Parity Flag
5. C – Carry Flag
S Z X AC X P X CY
Carry Flag
Parity Flag
Auxiliary Carry Flag
Zero Flag
Sign Flag
The description and condition of flag are as follows :
Carry Flag(CF) :- The carry flag is set when the result of an operation produces a number that
will not fit into the 8 bit accumulator. Thus the carry flag reflects the final carry out of the most
significant bit of any arithmetic operation .The carry flag also serves as a borrow for
subtraction.
Zero Flag (ZF) :- The zero flag is one of he most useful flag. The zero flag is set if ALU operation
results in 00H. Flag is reset if the result is not 00H.This flag is modified by the result in the
accumulator as well as the other register.
Parity Flag (PF) :- The parity flag is set to 1 if an arithmetic or logic instruction generates an
even number of 1s in accumulator i.e even parity . The flag is 0 if the arithmetic or logic
instruction containing an odd number of 1s, in accumulator i.e odd parity. The parity flag is the
least used of all the flags.
Sign Flag (SF) :- The sign flag is set to the condition of the most significant bit of the
accumulator following the execution of arithmetic or logical instruction. This flag is used with
signed numbers.
In a given byte, if bit 7 is 1, the number is viewed as a negative number and if bit 7 is 0,
the number will be considered positive. In arithmetic operations with signed numbers, bit 7 is
reserved for indicating the sign, and the remaining seven bits are used to represent the
magnitude of a number. Thus a set sign flag represents a negative number, whereas a reset flag
means a positive number.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 11
Auxiliary Carry (AcF) :-In arithmetic operation if a carry is generated in the digit d3 and
passed to digit d4 then Ac flag is set. This flag is commonly used in BCD arithmetic. This flag is
not available for the programmer to change the sequence of program with a jump instruction.
Instruction register and decoder
During the fetch cycle, the op-code of an instruction is stored in the instruction register.
This op-code then transferred into the instruction decoder and machine cycle encoder. The
decoder decodes the instruction and establishes the sequence of the events to follow. The
instruction register is not programmable and it is not available to the programmer.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 12
Due to the 16 address lines, we can address only up to 64kbyte of memory, so we can
not use Intel 8085 in IBM Standard PC Because, in IBM architecture standard, minimum
640kbyte of memory is required.
8085 has multiplexed address and data bus, so extra hardware is required to separate
address signals from the data signals. It is required compulsorily, because other device in
the microprocessor based system have separate address lines and data lines.
8085 reads one instruction at a time. Unless first instruction gets executed completely,
microprocessor can not read second instruction from memory as 8085 has only one
instruction register. So, pipelining of the instruction execution can not be achieved.
Flag register has limited flags. There is no flag in flag register to indicate overflow
condition of result’ of arithmetic operation on signed magnitude numbers. In signed
magnitude number, most significant bit is sign bit.
Interrupts are very limited in 8085. Normally in large microprocessor based system, more
interrupts are required to perform data transfer between I/O and microprocessor in
interrupt driven I/O
0perating frequency is less, so the speed of execution is slow.
While reading or writing 16 bit or more bytes of data from the memory or I/O device, the
microprocessor needs more operation [machine] cycles. So, data transfer speed is slow.
Using 8085, we can not design multi-processor system.
Due to limited 8 bit size of the all register, we can store limited data bytes in the
microprocessor memory.
There is no memory management unit.
Only 256 input and 256 output devices can be interface with 8085, as I/0 address is 8
bit.
The word length is 8 bit, hence the processing speed is slow.
The resolution is less.
Most of the 8 bit microprocessors are non-pipelined, hence the performance is less.
The instruction set is limited, hence the processing power is less.
Processor to memory bandwidth is less.
Processor to I0 bandwidth is less.
It provides very few addressing modes, hence the instruction set is not flexible. It very to
design a compiler for an 8 bit microprocessor.
It cannot be used in scientific calculations.
It doesnot handle real numbers.
It is used for control applications only.
It is not used in work-stations and servers.
It cannot be used in multiprocessor systems.
Q.How Memory read operation is performed ?
Ans. To read an instruction from a memory location , the µp
1. First places the address on
address bus
2. This address is decoded by
address decoder to locate particular
location
3. The µp then send a pulse
called memory read a control signal ,
this signal activates the memory
chip ,after activation the content of
that particular memory location
pointed by the address on the
address bus, are placed on data bus
and transferred into µp.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 13
Q What is interrupts explain ?
Ans. The interrupt is the process of data transfer where by and external device or peripheral can
inform processor that it is ready for communication and it requires attention .The process is
initiated by external device and is asynchronous meaning that it can be initiated at any time
without reference to the system clock. The interrupt process allows the µp to respond to these
external request for attention or service on a demand basis and leaves the µp free to perform
other task.
Q Explain the different classification of the interrupts ?
Ans :
The interrupt request is classified into two categories those are
1. Non – maskable interrupt 2. Maskable interrupt.
Non maskable interrupts :- Non maskable interrupt mean which cannot be ignored . µp
has to respond to request immediately. 8085 has one NMI ie TRAP
Q.Generating the control signal MEMR,MEMW,IOR,IOW using the signal IO/M, RD, WR
Ans.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 15
(stack) in a LIFO. Stack pointer is always decremented by 2 when the data is stored on the
stack and is always incremented by 2 when data is retrieved from the stack, because 2 data
bytes are stored at a time.
The stack is shared by the programmer and the microprocessor. The programmer can store
and retrieve the content of register pair byte using PUSH and POP instruction .Similarly
microprocessor stores the content of program counter when an subroutine is called.
Instruction Related To Stack
1> Push rp
2> Push PSW
3> Pop rp
4> Pop PSW ( refer instruction set )
Q. Explain What is PSW ?
Ans. The Operand PSW ( program status word ) of the instruction( PUSH PSW , POP PSW )
represent the content of the accumulator and the flag register , the accumulator is the High
order register and the flag is the Low order register. Content of the source are not altered after
the PUSH/POP instruction.
PSW stands for program status word. In flag register 5bit indicates 5-status and three are
undefined. The combination of these 8 bits is called as PSW Programs status word. PSW and the
accumulator content are treated as 16 bit data for stack operation.
The five flags are
S Z X AC X P X C
PSW is used as 16 bit operand for Stack related operation which is useful for writing
/reading the content of flag on stack. For saving the content of flag on stack PUSH PSW is
used and for reading/restoring the content of flag from stack POP PSW is used .
By this technique the various flags can be set or reset. For example PUSH PSW will store
the content of flag on Stack ,POP B will restore the content of flag and Accumulator in register
pair BC .Now programmer can modify the content of BC register by Anding and Oring with
suitable data and then using the PUSH B will store content of BC on stack and the finally suing
the instruction POP PSW. With this the content of the flag register can be changed indirectly.
Note : Explain the instruction PUSH PSW and POP PSW from the instruction set page
Q.What is Subroutine , describe
Ans.A subroutine is a group of instruction written separately from the main program
for eg : If time delay is required between 3 successive events, 3 delay routines can be written in
main program. TO avoid repetition of same delay instruction a subroutine is used . Delay
instructions are written and separately from main program and they are called by main program
when needed.
8085 microprocessor has two instruction to implement subroutines:-
1> CALL 2> RET
Question Bank
1. Describe the function of following blocks of 8085.
a) General purpose register
b) ALU
c) Timing and control unit
d) Instruction decoder and machine cycle encoding.
e) Instruction register
f) Flags
2. What is de-multiplexing of the address and data bus? Which signal is used to de-
multiplex the address and data bus.
3. State the vector addresses of all hardware interrupts of 8085 microprocessor.
4. Draw the format of the flag register of 8085 microprocessor and describe the
condition which set and reset these flags.
5. Describe INTR interrupt.
6. List maskable and non-maskable interrupts of 8085 microprocessor.
7. Explain why
a) 8085 microprocessor is 8 bit CPU ?
b) Memory capacity of 8085 microprocessor is 64K bytes?
c) RESET IN signal is essential for microprocessor?
d) First instruction is executed after rest operation from the memory location
0000H ?
8. Draw the flag register format and explain in brief various flags related to 8085.
9. Describe TRAP interrupt. State its priority and triggering level.
10. Draw the neat labeled architecture of 8085 indicating different signals of the all the
blocks.
11. Describe the function of SID and SOD pins of 8085 microprocessor.
12. List all registers of the 8085 microprocessor and categorize them into 8 bit and 16
bit registers.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 16
13. State the function of RESET IN and READY pins of 8085 microprocessor.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 17
Chapter-2 16 bit Microprocessor
About 8086 microprocessor
Intel 8086 is a 16-bit microprocessor, which contains 29000 transistors manufactured
using HCMOS or H-MOS technology. It is an improvement over its predecessor 8080 and 8085
8-bit processor .By increasing number of address pins the memory addressing capacity is
increased up to 1-megabyte and I/O devices up to 64K.
A powerful feature of 8086 is supporting co-processor, which is also called as floating
point processor or math coprocessor 8087. It is used in to increase overall performance for
scientific applications, also used for software like ‘CAD’, ‘DTP’, ‘GRAPHICS’, etc., which requires
large and complicated calculations. The 8086 is intended to use as CPU in microcomputer. The
term 16-bit means that its arithmetic and logic unit , internal register and most of the
instruction are designed to work with 16 – bit word.
8086 has 16-bit data bus so that it can read data from or write data to memory and I/O
ports. 8086 has 20 address pins, 16 out of which are also used as data pins i.e. address and
data bus are multiplexed. 8086 requires only single +5 Volt supply and single-phase clock of
5MHZ. 8088 was designed with external data bus 8-bit and internal 16-bit. The ALU, Registers
and Instruction are same as 8086.
This was done so that peripherals and memories designed for 8085 can be directly
interfaced with 8088. Since address bus of 8086/88 is of 20 bits, it can address up to 1MB of
memory. 8086 data bus is of 16-bit and it stores data in two consecutive memory locations. If
the first byte of the word is at an even address, then 8086 can read the entire word in one
operation. But if it is an odd address, 8086 requires two operations, whereas there is no such
restriction with 8088 because its data length is 8-bit and irrespective of address it has to
perform two operations to read or write the word. 8088 is used in IBM personal computer and
its clones.
Q.List Salient Features of 8086 microprocessor
It supports pipelined architecture and has two parallel processors ie the Bus interface
unit and the Execution unit. -
Provides 20 address lines , so 1MB memory can be addressed
Multiplexed 16 bit address and data bus AD0 –AD19 to minimize numbers of pin on IC.
Operating Clock frequencies are 5 MHz, 8 MHz, 10 MHz
Capable of executing about 0.33MIPS(Million Instruction per seconds)
Arithmetic operation can be performed on 8 bit or 16 bit signed and unsigned data
including multiplication and division.
Can operate in single processor and multiprocessor configuration i.e. operating modes.
Needs single +5v supply.
The instruction set is powerful, flexible and can be programmed in high level language
like C language.
Provides 256 types of vectored software interrupts.
Provide 6 byte instruction queue for pipelining of instructions execution.
Generate 8 bit of 16 bit I/0 address so it can access maximum 64 K devices.
Operate in maximum and minimum mode to achieve high performance level.
Supports 24operands addressing modes.
Supports multiprogramming.
Provides separate instructions for string manipulation.
Q.Draw Architecture of 8086 processor and List it additional features
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 18
The 8086 has following plus points :
1>It has 16 bit ALU and Registers
2> It has 20 bit Address bus so that it can address up to 1Mbyte of address space
3> It has 16- bit of data bus
4> It can address up to 64k of I/O ports
5>It supports coprocessor
6> It has multiple interrupt handling facility
7> It also provides supports for DMA and NMI .
8> It supports synchronization to slow peripheral and I/O devices.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 19
The segment registers are used to store the upper 16-bit of starting address of four
memory segments. 8086 BIU sends 20-bit address, so that it can address any of 1MB memory.
However, at any given time 8086/88 can work with 64KB segment within 1MB range.
1. Code segment register is used to store the 16-bit starting address for the program memory
i.e where code is stored.
2. The stack segment register SS is used to hold upper 16 – bit of the starting address for the
program stack.
3. The Extra segment register ES and data segment register DS are used to hold upper 16 – bit
of two memory segments used for data storage in memory.
When these register are used as 8 bit register MSB is stored in AH and LSB is stored in AL
register. Same is the case with other registers.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 20
3. Zero flag (ZF) 6. Auxiliary carry flag (AF)
The meaning of these flags is similar to 8085 flags.
U U U U O DF I TF SF ZF U AF U PF U CF
F F
Carry Flag
Undefined
Parity Flag
Control flags control the execution of special functions. This group consists of 3 flags named as
1. Trap flag (TF)
2. Interrupt flag (IF)
3. Direction flag (DF).
These flags are different from conditional flags and are set or reset by execution unit on the
bases of result generated by ALU.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 21
Q.Describe the special purpose , index other Scratch pad registers of 8086
Ans.The processor for storing temporary data and intermediate results uses these registers.
These are not accessible by instructions.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 23
For example: -
If IP = 0123H & CS = 3000H, then
physical address will be calculated as: -
Base address: CS: 3 0 0 0 0 H
Effective address: IP: + 0 1 2 3 H
Physical address: 3 0 1 2 3H
Note : It is not necessary that segments are separated but they can be overlapped.
Q.State Flag organization of 8086 up
Ans.8086-processor status word consists of 16 bits, out of which 7 are not used. Each bit in
processor status word is called as flag.
A flag is a flip-flop, which indicates some conditions generated by execution of an instruction
or to control certain operations of the execution unit. EU contains 9 active flags .8086 flags are
grouped in two groups: -
(1)Status flags (2)Control flags
Status flags are used to register the status of the latest arithmetic or logical operation
performed these flags are
1. Carry flag (CF) 4. Sign flag (SF)
2. Parity flag (PF) 5. Overflow flag (OF)
3. Zero flag (ZF) 6. Auxiliary carry flag (AF)
U U U U O DF I TF S ZF U AF U PF U CF
F F F
Fig. Flag Register
Control flags control the execution of special functions. This group consists of 3 flags named as
1. Trap flag (TF) 2. Interrupt flag (IF) 3. Direction flag (DF).
These flags are different from conditional flags and are set or reset by execution unit on the
bases of result generated by ALU.
Status/Conditional Flags Description
Carry Flag (CF) :- This Flag is set if there is a carry from MSB position during addition or a
borrow into MSB position during subtraction
Parity Flag (PF) :- This flag serves as odd parity bit for the eight LSB of the result.
Auxiliary carry flag (AF) :- This flag is used for BCD arithmetic .It is set if there is a carry
from lower nibble or a borrow from higher to lower nibble.
Zero flag (ZF) :- This flag is set if the result is zero .It is reset if result is non – zero
Sign Flag (SF) :- This flag indicates whether the result is positive or negative .It is reset if
the result is positive and set if result is negative.
Over flow flag (OF) :- This flag is set when there is an overflow condition in the result of the
addition and subtraction operation.
Direction flag: -It is used by string manipulation instructions. If DF = 0, string is
processed from lower to higher address and when DF = 1, string is processed from
higher to lower address.
Interrupt flag: - When IF = 1, processor can recognize the interrupt (maskable interrupt)
on INTR pin and when this flag is 0, processor ignores all the interrupts on INTR pin.
Trap flag: -When TF = 1, then processor will work in single stepping mode. After each
instruction executed, an internal interrupt is generated.
The BHE/S7 i.e. Byte High Enable pin is changed to status pin(SS0) because 8088 can
access only one byte at a time.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 25
The other difference between 8086 and 8088 is that 8088 has 4-byte instruction queue,
which is of 6 bytes in 8086. The reason for smaller queue is that 8088 can fetch one byte at a
time.
The signal M/IO of 8086 is reversed in 8088 and named as IO/M.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 26
instruction queue, and sets CS to FFFFh. Processing begins
at FFFF0 when signal is dropped.
22 READY I Acknowledgment from memory or I/O interface the CPU can
complete the current bus cycle.
23 TEST I Used in along with the WAIT instruction in multiprocessing
environments. A WAIT instruction will cause the CPU to
idle, except for processing interrupts, until a 0 is applied to
this pin
24-31 - - Definitions depends on mode - see Figs. And next tables
32 RD 0-3 Indicates a memory or I/O read is to be perform.
33 MN/M I CPU is in minimum mode when connected to +5V and
X maximum mode when connected to ground.
343 BHE/S 0-3 If 0 during first part of bus cycle this pin indicates that at
7 least one byte of the current transfer is to be made on pins
S7- Not AD15-AD8; if 1 the transfer is made on AD7-AD0.
Assign
ed
35-38 A19/S 0-3 During the first part of the bus cycle the upper 4 bits of the
6- address are output and during the remainder of the bus
A16/S cycle status is output. S3 and S4 indicate the segment
3 register being used .
391 AD15 I/O-3 Same as AD14-AD0
40 VCC Supply voltage- +5V ± 10%
-
1
On 8088, AD15-AD8 are A15-A8 and are only for outputting address bit.
2
5 MHz for the 8088, and 8 MHz for the 8088-2.
3
On 8088, this pin is denoted SS0 and is used in minimum mode to denote status. Logically
equivalent to S0. It is always 1 in maximum mode.
Q.Describe the function of Status signal S0 ,S1,S2 and Queue status signal
S2 S1 S0 Status
0 0 0 Interrupt Acknowledge
0 0 1 I/O read
0 1 0 I/O write
0 1 1 Halt
1 0 0 Op-Code Fetch
1 0 1 Memory Read
1 1 0 Memory Write
1 1 1 Passive
Queue Status
QS0 QS1 Status
0 0 No Operation
0 1 1st byte of opcode from queue
1 0 Empty Queue
1 1 Subsequent bye from queue
Q.List the Dumb Chip /non programmable chip used along with 8086
Ans.The dumb chip are not intelligent i.e there behavior remains the same. They operate always
according to the inputs. Dumb chip do not have memory to store, controller command
information. Once the circuit is designed it cannot be modified ie the input and output remains
same. Trouble shooting dumb chip related problem are easier and straight forward. Dumb chip
used in IBM PC design is
1. 8282 – Octal Latch ( Address Latch )
2. 8284 – Clock Generator
3. 8286 – Bi-directional buffer ( data bus transceiver )
4. 8288 – Bus controller
It is used to increase current driving capability of the data bus . 2-8286 are needed
when in interfaced with 8086 since there 16-bit data bus with 8086 and 1-8286 is needed
when interfaced with 8088 since 8088 has only 8 – bit data bus.
OSC = 14.31MHZ.
CLK = 1/3 * Crystal = 4.77MHZ.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 29
PCLK = 1/2 * 4.77 = 2.38MHZ.
READY Logic :
This logic of 8284 generates READY signal for the microprocessor to introduce a WAIT
state in 8088/86 bus cycle. The Ready input is made low by 8284 else Ready in maintained
high. There are two pair of Ready signal which can make Ready low , those are
All the command signal generated by 8288 are active low when there is no bus cycle by
8086/88. The command signal are inactive ie HIGH when the CEN input is low .When CEN is
HIGH then only 8288 generates command signal. S4 S3 Register
AEN input is a tristate control for the command signal. i.e 0 0 ES
When AEN = 1 all command output becomes tristate. 0 1 SS
When AEN = 0 all command output are enabled 1 0 CS or none
AEN has no effect over command output if IOB =1 . 1 1 DS
Functions of status signals
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 30
S2 S1 S0 Function
0 0 0 Interrupt acknowledge
0 0 1 Read I/O port
0 1 0 Write I/O port
0 1 1 Halt
1 0 0 Instruction fetch
1 0 1 Read memory
1 1 0 Write memory
1 1 1 Inactive
S5 = Current setting of IF. S6 is always 0.
Control Signal Logic :
Control signal logic generates signals for controlling hardware connected to 8086/88’s
address bus and data bus. Description of those signals is as follows : -
DT/ R: - Used to control bi-directional data bus through data bus transceiver. If DT/R = 1, CPU
writes the data (transmits) to external circuit, if DT/R = 0, CPU reads the data (receives) from
external circuit(IC 74ls245 or 8286).
DEN :- When DEN = 1 data bus transceiver is enabled and when DEN = 0 transceiver are
disabled and its outputs are made tristate
ALE : - ALE is used by address latches to latch the address
MCE / PDEN (Master cascade enable / Peripheral device enable)
It is a dual function pin used along with CEN and IOB pins. If IOB = 0, then this pin is
Master Cascade Enable (MCE) and is useful when more than one interrupt controllers(like
8259) are cascaded.
IF IOB = 1 then it is called as Peripheral Device enable(PDEN) .When IOB = 1, it
operates 8288 in I/O bus mode in the systems where there are separate system buses and
I/O buses.
Q.List two Operating modes of 8086/8088
The most important and good feature of 8086/88 is that it can be operated in two different
modes: -
1) Maximum mode
2) Minimum mode
These modes of operation can be set by MN / MX pin.
Q.Describe with neat diagram Minimum mode of 8086
Ans.In this mode, all control signals are generated by microprocessor itself. It does not support
multiprocessor configuration. Memory devices and peripherals can be directly interfaced to the
µp signal. This mode is used for the small systems with a single processor. A processor can be
operated in minimum mode when it MN/MX pin is connected to +5V (HIGH).The different IC’s
used in these mode are
As shown in figure pin
1.8086/88 processor
diagram of 8086 and 8088, both
2.8282 Octal latch
processors have multiplexed data and
3.8284 clock generator
address bus with 20 address pins.
4.8286 data bus transceiver
The status signals are multiplexed
with 4MSB address bits.
8088 has 8 data pins
multiplexed with address bus and
8086 has 16 data pins multiplexed
with address bus. Except for pin 28
and 34, both the processors have same
pin definition.
Pin 28 is IO/M in 8088 and
M/IO in 8086 in minimum as well as
maximum mode. Pin 34 that is BHE in
8086, a logic 0 on this pin indicates
that MSB data lines are used but in
8088, only 8-bit data bus is available,
hence there is no need for this pin.
8282
The address available during first part of bus cycle must be latched, hence to latch the
address 8-bit octal latch 8282 is used. 8086 requires 2 to latches for 16 bit address and 3 are
needed for de-multiplexing full 20 bit address. In 8086 BHE is also latched with the address .
But in 8088 minimum 2 can also be used because address lines A8 – A15 in 8088 are not
multiplexed and it is acting as full address bus through out the cycle.
STB pin of 8282 ins connected to ALE of processor .ALE is active HIGH when address is
outputted on address bus. The output enable (OE) signal is permanently grounded to enable the
output of latch through the machine cycle. Input is applied to DI0-DI7 pin and output latched
address is available from D0o-Do7.
8286
If a system has large number of interfaces then drivers and receivers like 8286 are used
to increase the current driving capability of the bus whereas this transceivers are not required in
small systems where number of interfaces are less.
8286 has 8 inputs and 8 outputs, bi-directional with two control signals T and OE, which
are connected to DT/R (direction control) and DEN (data enable ) of the processor.
8284
The third component is 8284 - clock generator. Other than generating clock, it
synchronizes Reset which initializes system with clock pulse and Ready signal which indicates
that an interface is ready to complete data transfer . 8284 accept Reset and Ready signal any
instant of time but they are not outputted till the trailing edge of the clock pulse in which they
are received.
Timing Diagram
T state:
One clock cycle is referred to as one T state. A
T state is measured from 50% falling edge of one
clock pulse to that of the next clock pulse.
Machine cycle
The time required to access a data byte from port or a memory and the time required to
write a data byte to ports or memories requires a specified number of T states. This group of T
states required for a basic bus operation is called a machine cycle.
Instruction cycle
The time required by 8086 to fetch and execute an instruction is known as an Instruction cycle
Bus operation
Each processor Bus cycle consists of at least four CLK cycles. These are referred to as T 1
and T4.
The address is outputted by processor during T1
Data transfer occurs on the bus during T3 and 14
T2 is used primarily for changing the direction of the bus during Read operations.
In case a NOT READY indication is given by the addressed device, “wait” states (Tw) are
inserted between T3 and T4 Each inserted “wait” state is of the same duration as a c
cycle.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 32
Q.Describe 8086 Read Machine Cycle in minimum mode
T1 State
In the T1 state of the first
machine cycle, the M/IO signal
is asserted HIGH for a memory
operation and LOW for an I/O
operation.
1. 8086 places the low order
address AD0 on AD7 bus
and High bits address AD8-
AD15 and upper 4bit
address on A16/s4 –
A19/s6 , as well as status
BHE/S7 signal
2. The ALE signal is connected
to the STB or enable inputs
of 8282/74ls373 latches.
The 20 bit address and the
BHE signal is latched on
trailing edge of ALE.
3. The DT/R line is made low
in order to keep the data
bus in a receive mode.
T2 State
1. 8086 now places the status
information on the A16/s3-
A19/s6 Bus and floats the AD0 to AD15 bus to read valid data.
2. In the middle of T2 the RD and DEN signals are asserted LOW in order to enable the data
buffers 8286/8287. The 8086 is now ready to read the valid data. .
3. If the access time of ROM is longer than specified one then the READY input goes
4. If the READY pin is HIGH, the 8086 continues its normal operation, whereas if it goes at
the end of T or in the middle of T then 8086 introduces “wait state” between the T3 and
the T4 state.
T3 State
If the READY pin goes HIGH during T3 or the “wait state”, then 8086 will execute its
normal operation from T4. Otherwise “WAIT STATES” are introduced as long as READY signal
remains LOW
T4 State
When the READY goes HIGH, the 8086 reads the data byte via 16 bit data The RD signal
and hence DEN signal are asserted HIGH. The AD0-15 bus is now to indicate completion of a
READ cycle.
Q.Describe Write Machine cycle
of 8086 in minimum mode
T1 State
1. During the T1 state of the
Write Machine Cycle
2. M/IO signal is asserted
HIGH for memory operations
and low for I/O operations.
3. 8086 asserts the ALE signal
HIGH to enable address
Latches.
4. The processor then sends
out the Address on the lines
AD0-AD7,A16-A19 and the
status of the BHE signal. For
I/O operations lines A0-16
are always low, since the
port addresses are always 16
bit.
5. This address and status of
BHE is latched on the
trailing edge of ALE signal.
6. The 8086 asserts the DT/R
HIGH for placing the buffers
in transmit mode.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 33
T2 State
1. During the T2 state, 8086 removes the address information from AD lines and puts the
data to be written on this bus.
2. 8086 then asserts the WR signal LOW.
3. If a Memory or a Port device needs more time to take in the. data from the data bus, then
an external hardware is used to pulse the READY LINE LOW before or during
T3 State
1. After asserting the WR signal LOW, 8086 waits for the memory or the port device to
accept data in this state.
2. Wait State : If the READY INPUT is made LOW by external hardware before or during T2
then ‘WAIT’ states are inserted after T3
3. If the Ready input is made HIGH before the end of ‘WAIT state’, the 8086 continues with
T4 else it inserts another WAIT state. This continues till READY goes HIGH.
4. During this state, 8086 freezes its operations and logic levels on the buses remain
constant.
T4 State
After the addressed memory or port has accepted the data, 8086 raises its WR signal and floats
the Data bus.
This completes one Write machine cycle.
Q.With neat diagram describe Maximum mode 0f 8086
The maximum mode is for
medium to large systems
which often includes two or
more processor. In this mode
the processor does not
generate control signals
directly .Instead it issues bus
status signals S0, S1, S2. The
bus controller 8288 decodes
this status signal and
generates appropriate control
signal. In PCs, 8088 is used
in maximum mode. Figure
shows pin definition of the
processor in maximum mode.
A processor is in
maximum mode when MN/MX
is logic 0 (Grounded). In this
definition of the pin 24
through 31 is changed. This mode need of additional circuitry to translate control signals ie Bus
Controller other than Latches, Clock generators, Transceivers used . Main function bus
controller is to decode signals S0, S1 and S2 and generate signals for I/O and memory
interfacing i.e. for data transfer.
The functioning of the other components like 8282, 8284, 8286 is same as that in
minimum mode. The So, S1, S2 specify which type of transfer is to be carried out.8288
generates MEMR , IOR , MEMW , IOW, DT/R, DEN, ALE , INTA , MCE/PDEN after decoding
status signals
The QS0 and QS1 pins are to allow the system external to processor to check the status
of processor instruction queue to determine which instruction is currently executing. The Lock
pin is needed in multiprocessor system to lock the buses
Write Mode
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 34
1. In this mode, the control signal MWTC or IOWC is generated by 8288 bus controller to
write data to the memory or I/0 device during T2 state of write bus cycle.
2. AD0-AD15, A16-19 and BHE/S7 are generated by the microprocessor during T1 of read
cycle.
3. But DT/R, ALE, DEN and control signals MWTC/IOWC are generated by 8288 bus
controller after receiving status signals on status lines S0, S1 and S2
4. The ALE is generated by 8288 during T1 state of the read bus cycle.
5. DT/R, DEN and MWTC or IOWC are generated during T2 state by bus controller 8288
and make data available on the data bus D0-D15
Question Bank
1. State the advantages of pipelined architecture
2. State the functions of segment registers.
3. DS contains 5B24, CS contains 5A2B and ip contain 52. Calculate the address of the instruction to
be executed.
4. State the use of overflow flag.
5. List the elements of 8086 execution unit.
6. Describe the functioning of the Bus Interface Unit of Intel’s 8086 processor. What are the advantages
of pipelining implemented in BIU? How is a 20 bit phyical address generated by 8086 using 16
segment and pointer registers? Draw a neatly labelled block diagram of 8288 bus controller
indicating all input/output signals. Describe it in brief.
7. Illustrate with an example the physical memory address generation process in 8086.
8. Differentiate between the minimum and maximum mode operations of 8086.
9. Describe the process of clock signal generation for 8086 using IC 8284.
10. List the function of pins 24 to 31 of 8086 in minimum mode.
11. List and explain the control signals of 8086 in maximum mode.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 35
12. Describe the flag register in 8086 and list the status flags and their functions.
13. Draw the functional diagram of 8086 microprocessor and describe it in details.
14. State at least eight differences between 8085 and 8086 microprocessors.
15. What is a bus? Describe the data bus of the 8086 microprocessor.
16. How does 8086 enter into a WAIT state? At what point in a machine cycle does an 8086 enter a
WAIT state?
17. Draw the memory read timing diagram of the 8086 in minimum mode.
18. Draw and elaborate on a typical 8284 clock connection to the 8066 microprocessor.
19. List all the signals of the 8086 microprocessor in minimum mode. Draw a typical minimum mode
system.
20. What is a Queue? How does a Queue speed up the processing of the 8086 microprocessor?
21. Describe how 20-bit physical address is generated in the 8086 microprocessor?
22. Calculate the physical address generated by 4370:561E H and (ii) 1A32:0028 H
23. List and explain control flags of the 8086 microprocessor. Describe the Difference between carry flag
and overflow flag of the 8086 microprocessor.
24. Draw schematic which shows connections to the 8288 in maximum mode system of the 8086
microprocessor. Describe all signals of the 8288.
25. The contents of flag register is read as (F32F) What is the status of each of the flags?
26. Why memory segmentation is adopted in 8086?
27. List the pointer and index registers and explain their normal functions.
28. Describe the function of the execution unit of 8086.
29. State the use of NM! and DT/R signals.
30. State the functions of the following
i. DEN
ii. QSo , QS1
iii. DT/R
iv. READY.
31. Describe the Minimum mode and Maximum mode of 8086.
32. Mention the time at which the READY signal of 8086 is polled.
33. State the use of MN/MX and TEST signal.
34. Draw a neat labelled pin diagram of 8086.
35. State the pin functions of 8086 in minimum mode.
36. State the pin functions of 8086 in maximum mode.
37. State the two operating modes of 8086 and explain any one.
38. Describe the minimum mode configuration of 8086 with a neat diagram.
39. Draw the Register structure of 8086 and state the function of each Register. Write in brief about the
Memory pointer registers, Queue and Segmentation in 8086 processor.
40. Mention the default segment base and offset pairs. State the use of all Segment Base Registers.
41. Show the interfacing of 8086 in maximum mode and describe the use of all functional units.
42. List at least eight features of 8086 microprocessor.
43. Describe the flag register of the 8086 microprocessor.
44. What do you mean by segmented memory? List any two advantages.
45. State the meaning of logical addresses and physical addresses. Explain the address generation
process. If DS = 34581h and SI = 13DCH, calculate the physical address.
46. List the significant differences between the minimum and maximum mode operations of8086.
47. Describe under what situations the maximum mode operation is useful.
48. How is the clock signal provided to 8086 processor? List the various outputs of this circuit.
49. Describe segmented memory and list its four advantages.
50. State the meaning of logical and physical addresses with proper example.
51. Describe the address generation process in 8086. If the DS = C2391H and SI = 8ABCH. Find the
physical address.
52. Describe pipelined architecture concept and how it helps in improving the system throughput.
Explain the functioning of Stack and Queue.
53. Describe with a neat timing diagram the Memory Read machine cycle of 8086 in maximum mode.
54. Describe how IC 8284 is useful in providing clock and reset signals. Give the circuit diagram.
55. Describe the use of Bus Controller IC 8288 in maximum mode operation of8086.
56. Various features of 8284 clock generator.
57. Describe the function of the Bus Controller IC with its functional diagram.
58. State the importance of a maximum mode 8086 based system.
59. With timing diagram describe minimum mode read cycle.
60. Describe the minimum mode configuration of 8086 with the help of a schematic diagram.
61. Compare the features of 8085 and 8086 (eight points).
62. Elaborate the concept of Segmentation in 8086.
63. State the use of Direction, Overflow, Trap and Interrupt Enable Flags.
64. State the significance of DT/R and DEN.
65. Draw a diagram of 8284.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)
Microprocessor – (MSK-9860174297 / 9324258878) Chapter-1 Basic of Microprocessor 36
66. Draw the interface of 8086 in max. mode and give the function of all the signals.
67. Mention function of following ICs
1. 8288 2. 8286 3. 8284
68. What is meant by pipelined structure? Explain.
69. Mention the default segment base offset pairs. If CS = 1000H, IP = 2000H, DI= 3000H, find the
physical address.
70. Name the General Purpose Registers of 8086 giving brief description of each.
71. Draw a neatly labeled block diagram of 8284A clock generator showing all the signals.
72. Why is 8086 memory set up as odd and even memory banks?
73. What is the width of the FLAG REGISTER of 8086? [ Draw the FLAG REGISTER naming and
indicating all the CONDITIONAL FLAGS, CONTROL FLAGS and UNDEFINED FLAGS.
Prof. Manoj S. Kavedia (9773552051 / 9423088039 ) (Gayatri Engineering Classes – Contact – 9423087749)