MP Model Question Paper
MP Model Question Paper
QP CODE:
PART A
3. Assume AL register is having the value 7FH. What will be the content of AL
after the following instructions are executed
a)ROR AL,01 b)SAR AL,01
6. Define Interrupt Service Routine? How to find the address of the ISR
corresponding to a given interrupt in 8086?
44
COMPUTER SCIENCE AND ENGINEERING
10. Write the sequence of 8051 instructions to store any two numbers at two
consecutive locations 70H and 71H, multiply them and store the result in (10x3=30)
location 72H.
Part B
(Answer any one question from each module. Each question carries 14 Marks)
11. (a) Specify the significance of segmentation and how it is implemented in 8086 (5)
OR
12. (a) Write down the differences between 8086 and 8088 processors (4)
(b) Explain the physical memory organization of 8086 with a neat diagram. (10)
How does the 8086 processor accesses a word from an odd memory
location? How many memory cycles does it take?
13. (a) Write an 8086 assembly language program for finding the sum of the (10)
squares of first N natural numbers. Calculate the squares of each number
using a subroutine SQUARE.
OR
14. (a) Write an 8086 assembly language program for printing the reverse of a (5)
given input string.
(b) Explain the addressing modes for sequential control flow instructions in (9)
8086.
OR
16. (a) Interface 32Kx8 RAM using four numbers of 8Kx8 memory chips and (10)
16Kx8 ROM using two numbers of 8Kx8 EPROM chips. The address
map is given as RAM starts at 00000H and ROM ends at FFFFFH
45
COMPUTER SCIENCE AND ENGINEERING
17. (a) Explain the architecture of 8255 with a neat diagram (10)
(b) Identify the mode and I/O configuration for ports A, B and C of an 8255 (4)
after its control register is loaded with 86 H?
OR
18. (a) Define Direct Memory Access (DMA)and illustrate the role of a DMA (8)
controller? Explain the register organization of 8257 and state how these
registers are used during DMA transfer operations.
(b) Write an 8051 assembly language program for adding two matrices whose (5)
elements are stored sequentially in some memory location. Assume suitable
locations.
OR
20. (a) Explain the internal data memory organization of 8051. (9)
46