You are on page 1of 2

North South University

Department of Electrical and Computer Engineering


Spring 2024, CSE331/EEE332/ETE332/EEE453 Sec. No. 6 SET 1
(Microprocessor Interfacing and Embedded System)
Quiz no. 01; Full marks: 15; Time: 40 minutes

Answer all the questions.

Q. 1 Suppose that SS= 53A0H, DS = 12D0H, BX = 13A0H, BP =12A0H and DI 5


= 400H. Determine the memory address accessed by each of the following
instructions and also mention which type of addressing mode they belong:
a) MOV AL, [BP+1234H]
b) MOV DX, [BP]
c) MOV [DI+2], AL

Q. 2 Explain the operation of the following instructions 5


a) REP STOSB
b) XLAT

Q. 3 Explain what happens when the POPA instruction executes. Make sure to 5
show the address where the data are stored. (Assume that SP = FFF5H and
SS = 1000H after execution)

North South University


Department of Electrical and Computer Engineering
Spring 2024, CSE331/EEE332/ETE332/EEE453 Sec. No. 6 SET 2
(Microprocessor Interfacing and Embedded System)
Quiz no. 01; Full marks: 15; Time: 40 minutes

Answer all the questions.

Q. 1 Suppose that SS= 5AA0H, DS = 1BC0H, BX = 53A0H, BP =12A0H and DI 5


= 0500H. Determine the memory address accessed by each of the following
instructions and also mention which type of addressing mode they belong:
a) MOV AL, [BX+1234H]
b) MOV DX, [BP]
c) MOV [DI+2], AL

Q. 2 Explain the operation of the following instructions 5


a) REP INSB
b) XLAT

Q. 3 Explain what happens when the POPA instruction executes. Make sure to 5
show the address where the data are stored. (Assume that SP = FFF5H and
SS = 1000H before execution)

You might also like