Sheet 2
Sheet 2
University of Alexandria
Faculty of Engineering
Division of Communications & Electronics
1-Review questions:
a) How much memory can be active at a given time in the 8086/8088 microprocessor?
b) Which part of the memory address space is used to:
1-Store instruction of a program?
2-Store the data used by the program?
3-Store temporarily data?
3- Assume that BX = 4F56H, SP = 0100H and SS = 0200H. Explain what happens when the
PUSH BX is executed.
4- Suppose that DS = 0200H, BX = 0200H and DI = 0300H. Determine the data memory
address accessed by each of the following instructions:
8- If CS=FFFFH, find the physical address of the lower range and upper range of the code
segment.
9- If SS=0C00H and SP=FF00H, how many words of data are currently held in the stack if
SP=0000H at the start of a certain program?
11-If AX=3245H, BX=5632H, CX=672BH, CS=2000H, SI=62F4H, find the result of each
line of the following program :( the memory map is shown below)
a-MOV DS,AX
b-MOV SI,100H
c-MOV BX,04H
d-ADD AX, [SI]
Memory location data
32557H 2DH
32556H 24H
32555H 3CH
32554H 8BH
32553H 79H
32552H 6FH
32551H 6AH
32550H 34H
13- Convert the following decimal numbers to IEEE-754 short and long-form real numbers:
a) 10
b) - 11
c) 101.125
d) – 65.0625
3
14- Identify the addressing modes, the source, and the destination operands in the following
instructions:
a) MOV DL, BL
b) MOV AX, 00FFH
c) MOV [DI], AX
d) MOV DI, [SI]
e) MOV [BX] + XYZ, CX
f) MOV [DI] XYZ, AH
g) MOV [BX][DI]XYZ, AL
15- Identify the addressing modes, the source, and the destination operands in the following
instructions:
a)MOV AX,CX
b)MOV AX,1234H
c)MOV AL,’A’
d)MOV AL,[200H]
e)MOV [300H],BL
f)MOV [SI],BX
g)MOV [BX+10H],AX
h)MOV CX,[BP]+98H
i)MOV [BP][DI],AH
j)MOV AX,[DI][SI]
k)MOV BX,[SI+20][BP]
l)PUSH CX
r)POP CS
16) Given that: DS = 1000H, SS = 2000H, BP = 1000H, DI = 0100H and LABEL = 1234H.
Determine the data memory address and the addressing modes for each of the following
instructions:
17) Given that: DS = 1100H, BX = 0200H, LIST = 0250H and SI = 0500H. Determine the
data memory addresses and the addressing modes for each of the following instructions:
a) MOV LIST[SI], DX
b) MOV BL, [BX][SI]+LIST
c) MOV BH, [BX]+LIST