Professional Documents
Culture Documents
DEPARTMENT OF ECE
EC8691 – MICROPROCESSORS AND
MICROCONTROLLERS (R2017)
MPMC-EC8691 ACT-ECE
UNIT-I THE 8086 MICROPROCESSOR
Part-A
1. Define microprocessor?(Remember)
A microprocessor is a multipurpose, programmable, clock-driven, register –based electronic
device that reads binary instructions from a storage device called memory. Accepts binary
data as input and processes data according to instructions, and provides result as output.
13. Define (a) Instruction Cycle (b) M/C Cycle (c) T-state (Remember)
Instruction cycle: Time required to complete the execution of an instruction. One
instruction cycle consists of 3 to 6 machine cycles.
Machine cycle: Time required to complete one operation of accessing memory or I/O
device. One machine cycle consists of 3 to 6 T-states.
T-State: The portion of the operation performed in one clock period.
17. What is Stack and Subroutine? (May/June 2016, APRIL/MAY 2017, Apr/May
2018) (Remember)
Stack -It is a reserved area of the memory in the RAM , where temporary information may
be stored. Subroutine-It is a group of instructions written from the main program to
perform a function that occurs repeatedly in the main program.
18. Why are the program counter and the stack pointer 16-bit registers?
[NOV/DEC 2012](Understand)
Program Counter (PC) and Stack Pointer (SP) are basically used to hold 16-bit memory
addresses. PC stores the 16-bit memory address of the next instruction to be fetched. SP
can be used to temporarily store the 16-bit memory address as well as data. So PC & SP
are 16-bit registers.
25. Which Segment is used to store interrupt and subroutine return address
registers? (Understand)
Stack Segment in segment register is used to store interrupt and subroutine return
address registers.
27. Which Flags can be set or reset by the programmer and also used to control
the operation of the processor? (Understand)
Trap Flag, Interrupt Flag, Direction Flag.
MPMC-EC8691 ACT-ECE
34. What are the signals involved in memory bank selection in 8086
microprocessor? (Understand)
Entire memory is divided into two memory banks: bank0 and bank1. Bank0 is selected
only when A0 is zero and Bank1 is selected only when BHE is zero. A0 iszero for all
even addresses. So bank0 is usually referred as even addressed memory bank. BHE is used
to access higher order memory bank, referred to as odd addressed memory bank.
35. How clock signal is generated in 8086? What is the maximum internal clock
frequency of 8086? (Understand)
The crystal oscillator in 8284 generates a square wave signal at the same frequency as
the crystal. The maximum internal clock frequency of 8086 is 5 MHz
46. How clock signal is generated in 8086? What is the maximum internal clock
frequency of 8086? (Understand)
The 8086 do not have on-chip clock generation circuit. Hence the clock generation chip,
8284 is connected to CLK pin of 8086.the clock signal supplied by 8284 isdivided by three
for internal use. The maximum internal clock frequency is 5MHz.
47. What is pipelined architecture?(Remember)
In pipelined architecture the processor will have number of functional units and the execution
time of functional units is overlapped. Each functional unit works independently most of the
time.
48. What is the difference between segment register and general-purpose register?
(Analyze)
The segment registers are used to store 16-bit segment base address of the four memory
segments. The general-purpose registers are used s the source or destination register
during data transfer and computations, as pointers to memory and as counters.
49. What are the control bits used in IC 8086?(Remember)
The flags TF, IF and DF of 8086 are used to control the processor operation and so they are
called control bits.
50. What are the minimum mode signals used in 8086?(Remember)
The minimum mode signals used in 8086 are DT/R, DEN, ALE, M/IO, WR, INTA, HOLD
and HLDA.
51. What is queue? How queue is implemented in 8086? (Remember)
A data structure, which can be accessed on the basis of first in first out, is called queue.
The 8086 have six numbers of 8-bit FIFO registers, which is used for instruction queue.
52. What are the general purposes registers in 8086?[NOV/DEC 2011] (Remember)
The general purpose registers in 8086 are ax, bx, cx, dx, si, di, bp and sp. They are all16
bit wide. Each of these has a special purpose in addition to their being of general
purpose. For example, CX is used as a counter in conjunction.
53. Discuss the function of instruction queue in 8086? (Understand)
In 8086, a 6-byte instruction queue is presented at the Bus Interface Unit (BIU). It is used
to pre-fetch and store at the maximum of 6 bytes of instruction code from the memory.
Due to this, overlapping instruction fetch with instruction execution increases the
processing speed.
54. What address in the interrupt vector table, are used for a Type-2 interrupt in
8086? [NOV/DEC 2012](Understand)
The address used in the interrupt vector table for a Type-2 interrupt is 0000:0008 to
0000:000A reserved for Non-maskable Interrupt.
MPMC-EC8691 ACT-ECE
55. Give the importance of assembler directive EVEN [NOV/DEC 2011]
(Understand)
The EVEN directive updates the location counter to the next even address, if the current
location counter contents are not even, and assigns the following routine or variable or
constant to that address.
EVEN
PROCEDURE ROOT
.
.
ROOT ENDP
56. List the pointer and index registers of 8086 architecture.[NOV/DEC 2010]
(Remember)
The pointers contain offset within the particular segment.
The pointer registers are :
IP - Instruction PointerBP - Base Pointer
SP - Stack Pointer.
The index registers are used as general purpose registers as well as for offset storage.
SI - Source Index Register - used to store the offset of source data
DI - Destination Index Register - used to store the offset of destination data.
64. For 8086 microprocessor, the contents of the registers are CS=2001H.
SS=6046H, IP=2456H, SP=2200H. Calculate the corresponding physical
addresses for the addressed byte in a) CS b) SS (NOV/DEC 2019) (Analyze)
a) Physical Adress in CS = Base Addrof CS reg X 10H + Addr of IP
=(2001H X 10H) + 2456H
= 22466H
b) Physical Adress in SS = Base Addrof SS reg X 10H + Addr of SP
=(6046H X 10H) + 2200H
= 62660H
65. Give examples for the following modes of addressing (NOV/DEC 2019)
i) Relative Based Indexed mode
ii) Direct addressing (Analyze)
Given
(BX) = 0158 , (DI) = 10A5, Displacement = 1B57, (DS) =2100
Register Indirect Assuming Register BXEA = 2100
Physical Address = 0158 +21000 = 21158
Relative based indexed
Assuming Register BX and DI
EA = 0158 +10A5 + 1B57 = 2D54
Physical Address = 2D54 + 21000 = 23D54
MPMC-EC8691 ACT-ECE
68. What are Byte and String Manipulations?(Nov/Dec 2018) (Remember )
String is a group of bytes/words and their memory is always allocated in a
sequential order. String is either referred as byte string or word string.
PART - B
1. Explain briefly about the internal hardware architecture of 8086 microprocessorwith
neat diagram. (Apr/May 2015,NOV/DEC 2016, APR/MAY17, Apr/May
18)[NOV/DEC 2021]
(Understand)
2. Draw the 8086 functional block diagram and explain its architectural
features.(May 07, May 10, May 12.Nov 08, Nov 11, Nov 2012)
(Remember)
3. Draw and explain the pin configuration of 8086. (May 12, May 07)(Remember)
4. Draw and explain the minimum mode configuration of 8086 with timing diagram.
(Nov 11, Nov 05, May 06, Nov 10, Nov 08, May 2013) (Remember)
5. Draw and explain the maximum mode configuration of 8086 with timing diagram.
(Nov07,Nov 08,May 06,May 07,May 08,Nov 10,May 11, May 2013)(Remember)
6. Explain in detail about the various addressing modes used in 8086 processor? Give
examples. (May 08, Nov 08, Nov 10, May 11,Nov/Dec 2015. NOV/DEC 16, Nov/Dec
18) (Understand)
7. Discuss in detail about the interrupts and Interrupt Service Routine (ISR) with
interrupts cycle of 8086./ Describe the interrupts of 8086 and its types withservice
routine. (Nov/Dec 2015, Nov/Dec 2017, Apr/May 2018) (Nov 07, May12, Nov
10, May 08, May 07, Nov11,Nov2012,May/June16,APRIL/MAY 17) (Remember)
8. Draw and discuss the interrupt structure of 8086. (May 2014)(Remember)
9. Explain briefly about Interrupt handling process in 8086. (Apr/May
2015)(Remember)
10. What is Interrupt and Interrupt routine. Explain interrupt sequence for 8086
Microprocessor and interrupt pointers.(Apr/May 2019)(Remember)
11. What are assembler directives? Explain ENDP, EQU, EXTERN, EVEN withexample.
(May 10, May 12, May 07, May 2013, NOV/DEC 2016) [Nov/Dec
2021](Understand)
12. Explain about the Assume, EQU, DD assembler directives. (Apr/May 2015)
(Understand)
13. Explain the BIOS function, procedures and Macros. (Nov 08, May 06, May 12, Nov
10) (Understand)
14. Write an 8086 assembly language program for transferring block of data from oneset
of memory location to other set of memory locations using suitable string instructions.
(Nov 07, May 08) (Create)
15. Write a 8086 assembly language program to convert BCD data – Binary data.
(Apr/May 2015) (Create)
MPMC-EC8691 ACT-ECE
16. Give an example of 8086 instructions: AAA, CWD, JNBE, LAHF, MOVS, RCL, ROL
and SAHF. (Nov 2012) (Create)
17. Explain how to pass parameters to macros? (May 2012) (Create)
18. How does one define and call macro parameters of 8086 microprocessor?
(May 10)(Understand)
19. Explain the architecture of Intel 8086 with the help of block diagram (Nov/Dec 2015)
(Understand)
20. With neat block diagram , explain the architecture of 8086 Microprocessor
(Apr/May 2019) (Understand)
21. Explain the arithmetic, data transfer, branch, string manipulation instructions, process
control instructions, program execution transfer instruction, bit
manipulation instructions and machine control instructions of 8086
microprocessor with suitable examples.(Nov 10, May 10) (May/June 2016) [Nov/Dec
2021](Understand)
22. Draw the architectural block diagram of 8086 with its registers. (NOV/DEC 2019)
(Remember)
23. Write a program to find the average of 10 bytes stored in memory.
(NOV/DEC 2019) (Understand)
24. Find the status of the CF and ZF flags after the execution of each of the followingset
of instructions. Given that AX 4160H.
i) ADD AX, 9034H
ii) CMP AX, 0B08H
iii) XOR AL,AL
iv) MOV AL,34H (NOV/DEC 2019) (Analyze)
25. Write a program for 8086 microprocessor that multiples two bytes and store the result
in memory. (NOV/DEC 2019) (Understand)
26. Draw the architecture and explain the functional units of 8086(Nov/Dec 2017)
(Understand)
27. For 8086 Microprocessor what are the instructions set and assembler directives
(Nov/Dec2018)(Understand)
28.Write 8086 ALP to find the sum of numbers in array of 10 elements (Understand)
[Nov/Dec 2021]
Part – C
1. Write an ALP to find the largest number and smallest number in the array& Write an
8086 ALP to find the sum of numbers in the array of 10 elements? (Create)
2. Write a short note about
(i) Loop, NOP and HLT instructions
(ii) Flag manipulation, logical and shift& rotate instructions
(iii) Branch Instructions
(iv) Arithmetic Instructions (Remember)
3. Discuss about the various types of addressing modes in 8086 [Nov/Dec
2021](Remember)
4. Compose 8086 assembly language program for addition of two 16-bit
numbers(Nov/Dec 2021)(Remember)
MPMC-EC8691 ACT-ECE
Part – A
1. Define bus. Why bus request & cycle stealing are required?(Apr/May 2015,
NOV/DEC 2016) (Understand)
Bus: A group of wires or lines that are used to transfer the addresses, data &
control signals.
Bus request used to request the bus from the main CPU.
Cycle stealing is a method of accessing RAM without interfering with the CPU
An External bus is used to connect and interface the computer to its connected
peripheral devices. Since they are external and do not lie within the circuitry ofthe
cpu they are relatively slower.
3. Draw the read cycle timing for minimum mode. (Apr/May 2015) (Create)
5. What are the three basic bus access control and arbitration scheme?
(Remember)
Daisy chaining
Independent request
Polling
MPMC-EC8691 ACT-ECE
6. List the advantages of loosely coupled systems over the tightly couplessystems?
(Apr/May 2019) (Remember)
More number of CPUs can be added in a loosely coupled system to improve the
system performance.
System structure is modular and hence easy to maintain and trouble shoot.
Fault in a single module does not lead to a complete system break down.
It is more fault tolerant due to independent processing modules.
More suitable to parallel applications due to its modular organization.
7. State the disadvantages of microprocessor based system design?
(Understand)
Overall system cost is high as compared to microcontroller based system.
A large size PCB is required for assembling all the components, resulting in an
enhanced cost of the system.
Overall product design requires more time.
Physical size of the product is big and it is not handy.
8. What is a co-processor? What is its use in a typical microprocessor based
system(Apr/may 2010) / When is Co-processor used? (Nov/Dec 2018)[NOV/DEC
2021]
(Understand)
A coprocessor is a processor specially designed to work under the control of a
microprocessor such as 8086 to support additional numeric processing capabilities.
Example: Intel 8087 numeric processor works with 8086 microprocessor.
12. List any four 8087 data formats. [MAY/JUNE 2012] (Remember)
Word integer, Short integer, Long integer, Packed BCD, Short real, Temporary real
13. Give the instruction set of 8087?(Remember)
1. Data Transfer Instructions
2. Arithmetic Instructions
3. Comparison Instructions.
4. Transcendental Operations.
5. Constant Operations.
6. Coprocessor Control Operations.
MPMC-EC8691 ACT-ECE
15. How does CPU differentiate the 8087 instructions from its own
instructions?[MAY/JUNE 2013, NOV/DEC 2012, APRIL/MAY 2011](Analyze)
The CPU identifies the 8087 instructions by using ESCAPE code bits in them. Oncethe
CPU recognizes the ESCAPE code, it triggers the execution of the numeric processor
instruction in 8087.
17. What are the two internal sections of 8087 architecture? [NOV/DEC 2010]
(Remember)
8087 is divided into two sections internally as control unit (CU) & numeric extension unit
(NEU)
19. What are tightly coupled systems or closely coupled systems? (Remember)
In a tightly coupled systems the microprocessor (either coprocessor or independent
processors may share a common clock and bus control logic.. The two processors in a closely
coupled system may communicate using a common system bus or common memory.
13. Write a 8086 assembly language program to check whether the given string is
palindrome or not. (Apr/May 2015) (Create)
Part – C
1. Based on what you know, how would you explain I/O processor(Understand)
2. Explain short notes about the advanced processors (Understand)