Question Bank: UNIT I - 8086 Microprocessor Part - A (2 Marks)
Question Bank: UNIT I - 8086 Microprocessor Part - A (2 Marks)
(Deemed to be University under Category 'A' by MHRD, Estd. u/s 3 of UGC Act 1956)
Re-accredited with 'A+' Grade by NAAC. Recognised by UGC under Section 12 B
Coimbatore-641 043, Tamil Nadu, India
School of Engineering
(Approved by AICTE)
Ayya Avinashilingam Nagar, Varapalayam, Thadagam post, Coimbatore-641 108.
Question Bank
Course Instructor: G. Mahalakshmi Malini, Assistant Professor/ ECE
1. Explain the architecture of the 8086 with a neat functional block diagram.
2. Explain the function of the different flags in the 8086.
3. Define addressing modes of 8086 processor. What are the different addressing modes of 8086
microprocessor? Explain each addressing mode with example.
4. What is the purpose of ALE, BHE, DT/R and DEN pins of 8086? Show their timing in the system
bus cycle of 8086.
5. Sketch and explain the 8086 bus activities during read machine cycle
6. What is the difference between system bus cycle and bus idle cycle? Draw the timing diagram of the
bus idle cycle?
7. Draw and explain a block diagram showing 8086 in maximum mode configuration.
8. Draw and explain a block diagram showing 8086 in minimum mode configuration.
9. Draw and explain the timing diagram for 8086 minimum mode memory write cycle.
10. Draw and explain the timing diagram for 8086 maximum mode memory write cycle.
11. Draw and explain the timing diagram for 8086 minimum mode memory read cycle.
12. Draw and explain the timing diagram for 8086 maximum mode memory read cycle.
13. Explain the interrupt structure of an 8086 in detail.
Part - A (2 marks)
1. What are the steps involved when PUSH BX is executed by the 8086?
2. ´ and ALE signal in 8086?
What the function is of BHE
3. The content of the different register in the 8086 is CS = F000H, DS = 1000H, SS = 2000H, and
ES=3000H. Find the base address of the different segments in the memory.
4. If the current content of the CS and IP registers is FFFFH and 0000H, respectively from which
memory location will the 8086 fetch the data, while executing the instruction MOV CX,[BX]?
5. If the content of the SS and SP registers is 5000H and 1000H, respectively, in which memory
location is the content of DX saved, when the 8086 executes the instruction PUSH DX?
6. ´ pin in the 8086?
What is the role of TEST
7. Why is memory divided into segments in the 8086? What are its advantages?
8. Write the function of the assembler directives BYTE PTR and WORD PTR?
9. What is the difference between the MUL and IMUL instruction in the 8086?
10. What is the difference between the DIV and IDIV instruction in the 8086?
11. What is the function DAA instruction in the 8086?
12. What is the function of assembler and assembler directives?
13. What is the function of the assembler directives ORG and DB?
14. What is macro? Give an example.
15. What is the difference between macro and subroutine?
16. Is it possible to exchange the content of two memory locations or the content of two segment
register using the XCHG instruction? Why?
17. What is the difference between SUB and CMP instruction?
18. What is the difference between SUB and CMP instruction?
19. What is the difference between TEST and AND instruction?
20. If the content of BP=1000 and SI = 2000H, what is the value present in CX after the 8086 executes
the instructions LEA CX, [BP+SI], and LEA CX,[SI].
21. Write the procedure to determine physical address for the following instruction as given below:
(i) MOV AX,[SI+03] (ii) MOV AL,CS:[BX+0400]
(ii) MOV AX,[3000] (iv) MOV AL,[BX+SI+22]
Assume CS = 4000H, IP = 2300, SI – 02300 and DS = 5000
22. What are errors present in the following:
(a) MOV AX 3D (b) MOV 23,AX
(c) MOV CX,CH (d) MOVE AX,1H
(e) INC AX,2 (f) ADD 3,6
(g) INC AX,2
1. Let the content of the different registers in the 8086 be as follows: DS = 1000H, SS= 2000H,
ES=3000H, BX=4000H, SI=5000H, DI=6000H, and BP = 7000H.
Find the memory address/addresses from where the 8086 accesses the data while executing the
following instruction:
(i) MOV AX,[BX]
(ii) MOV BX,[SI]
(iii) MOV CX,[BP]
(iv) MOV AL,[DI]
(v) MOV BH,SS:[SI]
(vi) MOV CX,ES:[DI]
(vii) MOV AX,[BX+DI]
(viii) MOV BX,[BP+DI+5]
(ix) MOV AH,[BX+10H]
(x) MOV CX,DS:[BP+4]
(xi) MOV BX,[SI-5]
(xii) MOV AX, [BX+10]
Part - A (2 marks)
1. What are the types of memory? Explain the comparison between different types of memory.
2. What are the advantages and disadvantages of memory mapped I/O over I/O mapped I/O?
3. What are the interrupts pins of 8085/8086/808 microprocessor?
4. Give the list of applications of the 8253 timer.
5. Define priority interrupts.
6. What is programmable interrupt controller?
7. What happens when the RESET pin of 8255 is made high?
8. List the applications of 8255 PPI?
9. Mention the different modes of operation of 8253 IC.
10. What are the control signals used for memory and I/O read and write operations?
11. Compare static RAM and Dynamic RAM.
12. Give the register organization of 8257.
13. What are the features of 8279?
1. Explain memory mapped I/O and I/O mapped I/O. write the between memory mapped and I/O
mapped I/O. what are the instructions available in memory mapped I/O and I/O mapped I/O scheme.
2. Explain the generation of MEMR
´ , MEMW ´ ´ , and IOW
, IOR ´ control signals from IO/ Ḿ , RD
´
´ Signals.
WR
3. Explain the interfacing of 8259A with 8086 microprocessor.
4. Interface two 16k X 8 EPROM chips with the 8086, such that the memory address range assigned to
the EPROM chips is F8000H – FFFFFH, using an address decoder having only logic gates.
5. Interface two 16k X 8 EPROM chips with the 8086, such that the memory address range assigned to
the EPROM chips is 00000H – 07FFFH, using an address decoder having only logic gates.
6. Interface two 8k X 8 EPROM chips with the 8086, such that the memory address range assigned to
the RAM chips is 20000H – 23FFFH, using an address decoder that employs two 74138 ICs and
logic gates.
7. Interface two 8k X 8 RAM chips with the 8086, such that the memory address range assigned to the
RAM chips is F0000H – F3FFFH, using an address decoder that employs two 74138 ICs and logic
gates.
8. Interface four 16k X 8 EPROM chips with the 8086, such that the memory address range assigned to
the EPROM chips is 90000H – 9FFFFH, using an address decoder that employs two 74138 ICs and
logic gates.
9. Interface four 16k X 8 RAM chips with the 8086, such that the memory address range assigned to
the RAM chips is A0000H – AFFFFH, using an address decoder that employs two 74138 ICs and
logic gates.
10. Draw the functional block diagram of 8255 and explain the operation of each sub-block
11. What are the different operating modes of 8255? Explain any one operating mode.
12. Explain with a neat waveform the mode 0 of the 8253 timer/counter.
13. Explain with the help of block diagram, functioning of 8253 in various programmable modes.
14. Explain the functional block diagram of 8257 with pin details.
15. Draw and discuss the status register of 8257.
16. Write a short note on 8279 keyboard/display interface.
17. Draw the functional block diagram of 8279 IC and explain its all three input modes.
18. Explain the scanned sensor matrix mode of 8279
19. Draw the functional block diagram of 8251 and explain the operation of each sub-block
20. Interface an A/D converter to 8086 and write a program to convert the analog input to digital
21. Interface a D/A converter to 8086 and write a program to convert the digital input to analog output.
22. What is RS-232C? Explain the function of different pins RS-232C
Part - A (2 marks)
Part - A (2 marks)