You are on page 1of 1

Student name:

Assume the initial content of 8086 registers is as follow:


CS = DS = SS = 2100h, AX = 0005, BX = 200h, SI = 201 , DI = 0205 , DF = 0
DS:200 01 00 02 03 05 0F A0 FF ....

1. Fill the following table:

XLAT AL = 0F
MOV AL, 1F
AAM AX = 0301
MOV AL,FF
IMUL AL AX = 0001 CF = 0
SCASB AL = 05 C=1 Z=0 S=1 P=1

2. Give an example of addressing mode that requires two memory access. ADD [SI], AL

3. What is the physical address of the operand in the following instruction?


MOV AL, [BX] 21200

4. If the address bus of a processor is 26 bit, what is the maximum size of memory that connected to
the processor. 64 MB

5. Explain the function of BIU


BIU interface microprocessor with external memory and I/O devices

6. Write a single instruction equivalent to the following instructions:


MOV DL, 02
MUL DL
ADD AL, AL

7. What is the function of following program:


MOV AX, 1200
MOV ES, AX
MOV DI, 0
CLD
MOV CX, 7FFF
XOR AX, AX
REP STOSW
HLT
Reset segment 1200

8. Write a program to compute the average of numbers in the range 00 - F0

MOV CX, 00F0


XOR AX, AX
NEXT: ADD AX, CX
LOOP NEXT
MOV BL, F1
DIV CL

You might also like