Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Alexandria University

Faculty of Engineering CS331: Microprocessor Systems


Computer and Systems Engineering Assigned: Thursday 5th Oct, 2017
Department Due: Tuesday 10th Oct, 2017

Sheet 1

1. Assume CS = 0200h and IP = 01ACh, whats the physical address of the next instruction?

2. Which of the following instructions cannot be coded in the 8086 assembly language ?
a- MOV AX,27
b- MOV AL,978
c- MOV DS,9BF2
d- MOV CX,397
e- MOV SI,9516
f- MOV CS,3490
g- MOV DS,BX
h- MOV BX,CS
i- MOV AX,DL

3. Given DS = 1000h, SS = 2000h, BP = 1000h and DI = 0800h, calculate the


eective address and physical address of the operand for each of the following instructions:

a. MOV AL, [BP+DI]


b. MOV CX, [DI]
c. MOV DX, [BP]

4. Assume that SS = 1000h, SP = 0108h, AX = 0329h and BX = F43Ch. Find the


contents of the stack and the stack pointer after the execution of each of the following
instructions:

a. PUSH AX
b. PUSH BX
c. POP CX

Good Luck

You might also like