NEW
Font size
WorksheetsMPMC - 8086
Total questions: 10
Worksheet time: 9mins
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
02h
20h
27h
120h
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
01h
10h
00h
11h
What will be the content of AL after the execution of following program
MOV AL,9
MOV BL,6
ADD AL,BL
15
0F
3F
6F
What will be the content of AL after the execution of following program
MOV AL,'9'
MOV BL,'6'
ADD AL,BL
15
0F
3F
6F
How many times will the ADD instruction be executed
MOV CX,8
back: DEC CL
ADD AL,CL
LOOP back
4
5
7
8
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
C5h
D5h
55h
85h
What is the content of register BL after the execution of following program
MOV AL,55h
MOV BL.0AAh
ADD AL,BL
00h
100h
55h
AAh
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
41h
3Ah
11h
0Ah
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
AA00h
55AAh
AA55h
AA50h
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
2003h
2004h
2007h
2008h
