1. Quiz15 MC01 What is the binary value of AL after the following instructions h
ID: 3625589 • Letter: 1
Question
1. Quiz15 MC01
What is the binary value of AL after the following instructions have executed?
mov al,1000 0101b
clc
rcr al,1
a. 0
b. 0100 0010
c. 0
d. 0
2. Quiz15 MC02
What is the binary value of AL after the following instructions have executed?
mov al,0110 1011b
stc
rcl al,2
a. 0
b. 0
c. 0
d. 1010 1110
3. Quiz15 MC03
What is the binary value of AX after the following instructions have executed?
mov ax,0000 0000 1001 1101b
mov bx,1010 1010 1000 0000b
shld ax,bx,1
a. 0000 0001 0011 1011
b 0
c. 0
d. 0
4. Quiz15 MC04
Suppose we want to copy the value of the Carry flag into bit 7 of AL, and shift all existing bits in AL one position to the right. Which of the following instructions will work?
a. shr al,1
b. sar al,1
c. ror al,1
d. rcr al,1
5. Quiz15 MC05
Suppose we want to convert the value 6Fh in AL to the value F6h. Which of the following instructions will do this?
a. ror al,3
b. rol al,4
c. ror al,4
d. rcr al,4
6. Quiz15 MC06
Which of the following instructions will divide the unsigned integer in EBX by 8?
a. shr ebx,8
b. shr ebx,3
c. sar ebx,8
d. shl ebx,3
7. Quiz15 MC07
Which of the following instructions will multiply the integer in EBX by 32?
a. shr ebx,5
b. rol ebx,32
c. shl ebx,5
d. ror ebx,32
8. Quiz15 MC08
What will be the hexadecimal values of DX and AX after the following instructions have executed?
mov ax,6B49h
mov dx,0095h
shl ax,1
rcl dx,1
a. DX = 0148h, AX = C691h
b. DX = 012Ah, AX = C9A2h
c. DX = 012Ah, AX = D692h
d. DX = 024Bh, AX = D692h
9. Quiz15 MC09
Given the following two assignments to AX and DX, which block of instructions will cause DX to equal 4025h and AX to equal 1AD2h?
mov ax,6B49h
mov dx,0095h
a. shr ax,1
rcr dx,1
shr ax,1
rcr dx,1
b. shr ax,2
rcr dx,1
shl ax,1
c. shl ax,2
shr dx,1
rcl dx,1
d. shr ax,1
rcl dx,2
rcr ax,1
shl dx,1
10. Quiz15 MC10
Which of the following blocks of instructions will multiply the contents of the EDX register by 36?
a. mov ebx,edx
shl edx,5
shl ebx,2
add ebx,edx
b. mov ebx,edx
shl edx,5
shl ebx,2
add edx,ebx
c. mov ebx,4
add edx,ebx
shl edx,2
shl ebx,5
add edx,ebx
d. mov ebx,edx
shl ebx,5
shl edx,3
add edx,ebx
Explanation / Answer
1. Quiz15 MC01
What is the binary value of AL after the following instructions have executed?
mov al,1000 0101b
clc
rcr al,1
a. 0
b. 0100 0010 - ans
c. 0
d. 0
2. Quiz15 MC02
What is the binary value of AL after the following instructions have executed?
mov al,0110 1011b
stc
rcl al,2
a. 0
b. 0
c. 0
d. 1010 1110 - ans
3. Quiz15 MC03
What is the binary value of AX after the following instructions have executed?
mov ax,0000 0000 1001 1101b
mov bx,1010 1010 1000 0000b
shld ax,bx,1
a. 0000 0001 0011 1011 - ans
b 0
c. 0
d. 0
4. Quiz15 MC04
Suppose we want to copy the value of the Carry flag into bit 7 of AL, and shift all existing bits in AL one position to the right. Which of the following instructions will work?
a. shr al,1
b. sar al,1
c. ror al,1
d. rcr al,1 - ans
5. Quiz15 MC05
Suppose we want to convert the value 6Fh in AL to the value F6h. Which of the following instructions will do this?
a. ror al,3
b. rol al,4
c. ror al,4
d. rcr al,4 - ans
6. Quiz15 MC06
Which of the following instructions will divide the unsigned integer in EBX by 8?
a. shr ebx,8
b. shr ebx,3 - ans
c. sar ebx,8
d. shl ebx,3
7. Quiz15 MC07
Which of the following instructions will multiply the integer in EBX by 32?
a. shr ebx,5
b. rol ebx,32
c. shl ebx,5 -- ans
d. ror ebx,32
8. Quiz15 MC08
What will be the hexadecimal values of DX and AX after the following instructions have executed?
mov ax,6B49h
mov dx,0095h
shl ax,1
rcl dx,1
a. DX = 0148h, AX = C691h
b. DX = 012Ah, AX = C9A2h
c. DX = 012Ah, AX = D692h - ans
d. DX = 024Bh, AX = D692h
9. Quiz15 MC09
Given the following two assignments to AX and DX, which block of instructions will cause DX to equal 4025h and AX to equal 1AD2h?
mov ax,6B49h
mov dx,0095h
a. shr ax,1
rcr dx,1
shr ax,1
rcr dx,1 - ans
b. shr ax,2
rcr dx,1
shl ax,1
c. shl ax,2
shr dx,1
rcl dx,1
d. shr ax,1
rcl dx,2
rcr ax,1
shl dx,1
10. Quiz15 MC10
Which of the following blocks of instructions will multiply the contents of the EDX register by 36?
a. mov ebx,edx
shl edx,5
shl ebx,2
add ebx,edx
b. mov ebx,edx
shl edx,5
shl ebx,2
add edx,ebx - ans
c. mov ebx,4
add edx,ebx
shl edx,2
shl ebx,5
add edx,ebx
d. mov ebx,edx
shl ebx,5
shl edx,3
add edx,ebx
// hope this helps . Please rate :)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.