You are on page 1of 2

Summer 2023, CSE332/EEE332/ETE332/ETE453; Section 09

Microprocessor Interfacing and Embedded System


Midterm Exam; Full marks: 15; Time: 50 minutes (Set 01)

Answer any three questions.

Q. 1 Write a core Assembly Language code to check the similarity between the two 5
memory locations called FONT and DATA of 100-byte size each.
Q. 2 Suppose before the CALL instruction within a code the registers has following 5
data:
SS=1850H, SP=0003H, CS=569AH, IP=1005H, AX =10A2H, CX=0050H
and DX=5600H.

Draw a schematic diagram to illustrate what will happen after the CALL
instruction executes. Note that CALL instruction also stores the value of
registers AX, DX and CX into the stack segment as they are being used in the
called procedure.

Q. 3 Why the first 1KB of memory is reserved in case of 8086 microprocessor? 5


Draw and explain the interrupt vector table for INT 25H.

Q. 4 Suppose AX= 0A65H, BX= 5E50H. find the value of different registers after 5
execution of the following instructions:
I) MUL BL
II) IDIV BH

Summer 2023, CSE332/EEE332/ETE332/ETE453; Section 09


Microprocessor Interfacing and Embedded System
Midterm Exam; Full marks: 15; Time: 50 minutes (Set 02)

Answer any three questions.

Q. 1 Write a core Assembly Language code to check the similarity between the two 5
memory locations called TABLE and FILE of 60-byte size each.
Q. 2 Suppose before the CALL instruction within a code the registers has following 5
data:
SS=1580H, SP=A003H, CS=869AH, IP=10A5H, AX =10B2H, CX=0A50H
and DX=560BH.

Draw a schematic diagram to illustrate what will happen after the CALL
instruction executes. Note that CALL instruction also stores the value of
registers AX, DX and CX into the stack segment as they are being used in the
called procedure.

Q. 3 Why the first 1KB of memory is reserved in case of 8086 microprocessor? 5


Draw and explain the interrupt vector table for INT 35H.

Q. 4 Suppose AX= 0A65H, BX= 5E50H. find the value of different registers after 5
execution of the following instructions:
I) IMUL BL
II) IDIV BH

You might also like