CT-2 Question Paper-Batch 2 MP Rev1
CT-2 Question Paper-Batch 2 MP Rev1
RegNo: RA1611008010
Degree : B.Tech Specialization: IT
Year/Sem : II/IV Date: 18.03.2019
Duration : 100 minutes Max. Marks: 50
Part-A [Answer any FIVE] (5x4=20 marks)
1. Explain the working of the following instructions : (a) CMP (b) LOOP
2. Consider the code snippet
MOV BL, C8H
RCL BL, 3
Discuss the values of BL and the following flag bits after the execution of the above mentioned
code CF , ZF, SF, AF, PF, OF
3. write a program to perform 16 bit multiplication in 8086.
4. Discuss the following assembler directives : (a)EVEN (b) MACRO
5. Compare and contrast: Memory mapped I/O and isolated I/O
6. Mention the different methods of interfacing I/O to the microprocessor
7. What should be the value to be loaded in the command register to make port A an output port
and port B and input port in simple I/O mode of 8255?
Part-B [Answer all the Questions] (2x15=30Marks)
8. The contents of different registers are as follows. Offset (displacement) : 5000H AX :
1000H BX : 2000H SI : 0700H DI : 0100H BP : 2000H SP : 0400H CS :
0000H DS : 1000H SS : 5000H IP : 9000H Calculate the Physical addresses in the
following instructions.
i. MOV AX, [5000H]
ii.MOV AX, [BX]
iii.MOV AX, 5000 [BX]
iv.MOV AX, [BX] [SI]
v.MOV AX, 5000 [BX] [SI]
[OR]
9. . Explain in detail about Data transfer and Arithmetic instructions in 8086 with suitable
instructions.
10. Define DMA? How many internal registers are there in the 8237 DMA Controller and explain
the functions of it? .
[OR]
11. Interpret the format of I/O mode set control and BSR control word of the 8255 Programmable
peripheral interface and explain its modes of operations