wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

MPMC - 8086

Total questions: 10

Worksheet time: 9mins

Name
Class
Date
1.

What is the content of register AL after the execution of following program

MOV AL,0B9h

MOV BL,67h

ADD AL,BL

AND AL,BL

a)

02h

b)

20h

c)

27h

d)

120h

2.

Initially AL=00h and BL=FFh

Find contents of AL after execution of following program

SUB AL,00h

MOV BL,AL

INC BL

SUB AL,BL

a)

01h

b)

10h

c)

00h

d)

11h

3.

What will be the content of AL after the execution of following program

MOV AL,9

MOV BL,6

ADD AL,BL

a)

15

b)

0F

c)

3F

d)

6F

4.

What will be the content of AL after the execution of following program

MOV AL,'9'

MOV BL,'6'

ADD AL,BL

a)

15

b)

0F

c)

3F

d)

6F

5.

How many times will the ADD instruction be executed

MOV CX,8

back: DEC CL

ADD AL,CL

LOOP back

a)

4

b)

5

c)

7

d)

8

6.

What is the content of register AL after the execution of following program

MOV BL,55h

MOV AL,0AAh

SUB AL,BL

OR AL,80h

a)

C5h

b)

D5h

c)

55h

d)

85h

7.

What is the content of register BL after the execution of following program

MOV AL,55h

MOV BL.0AAh

ADD AL,BL

a)

00h

b)

100h

c)

55h

d)

AAh

8.

What is the content of register AL after the execution of following program

MOV AL,0Ah

CMP AL,09h

JBE next

ADD AL,07H

next: ADD AL,30h

a)

41h

b)

3Ah

c)

11h

d)

0Ah

9.

What is the content of register AX after the execution of following program

MOV CL,04h

MOV AX,55AAh

SHL AX,CL

ROR AX,CL

OR AX,5000h

a)

AA00h

b)

55AAh

c)

AA55h

d)

AA50h

10.

What is the content of register SI after the execution of following program

MOV CX,04h

MOV SI,2000h

MOV DI,3000h

back: MOVSB

INC SI

LOOP BACK

a)

2003h

b)

2004h

c)

2007h

d)

2008h