0% found this document useful (0 votes)
25 views3 pages

EXAM120425

The document presents a series of multiple-choice questions related to assembly language programming and the behavior of CPU registers in the 8086 architecture. Each question asks for the expected values of registers or flags after executing specific instructions. The questions cover various operations such as moving data, rotating bits, and manipulating the stack.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views3 pages

EXAM120425

The document presents a series of multiple-choice questions related to assembly language programming and the behavior of CPU registers in the 8086 architecture. Each question asks for the expected values of registers or flags after executing specific instructions. The questions cover various operations such as moving data, rotating bits, and manipulating the stack.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

https://forms.

gle/8y6CJVZRxojtE1KL9

What will be the value in AL register and CF after execution of the following
instructions?
CLC;
MOV AL, 11H;
ROR AL, 1
*
1 point

88h, 0
88h, 1
10h, 0
10h, 1

What will be the CF, SF and ZF after execution of the following instructions?
STC;
MOV CX, 1234H;
CMP CX, 1234H
*
1 point

1, 1, 0
0, 1, 0
1, 1, 1
0, 0, 1

What will the value in DX register after the execution of the following instructions?
MOV DX, 0000h;
MOV AX, - 4;
CWD
*
1 point

FFFFh
FF00h
00FFh
0000h

What will be the CF and PF after execution of the following instructions?


MOV AL, 0FCh;
SAHF
*
1 point

1, 0
1, 1
0, 0
0, 1

What will the value in BX register after the execution of the following instructions?
MOV BX, 1234H;
MOV [1234H], BX
ADD BH, [1235H]
*
1 point

1246h
4612h
2434h
4634h

Batch*
A1
A2
B1
B2

What will the output at offset address 1234h after the execution of the following
instructions?
MOV BX, 5676h ;
MOV [1234h], BX
*
1 point

56h
76h
5676h
7656h

If SI=0000h and DI= 00FFh, then what is the updated value in SI after the execution of
the following instruction?
CLD;
STOSB
*
1 point

0000h
0001h
FFFFh
1000h

What will be the value in AL register and CF after the execution of the following
instructions?
STC;
MOV AL, 12H;
SHL AL, 1
*
1 point

06h, 1
24h, 0
24h, 1
12h, 1

Name*

What will be the value in SP and DX register after the following execution of the code?
MOV SP, 6745H;
PUSH 1234H;
PUSH 5612H;
POP DX;
*
1 point

6747h, 5612h
6743h, 5612h
5612h, 1234h
6745h, 1234h

Which syntax is correct (executable) in 8086 programming?*


1 point

MUL AH, BL
MOV [AX], 1245h
MOV [BX], BX
ADD AX, BH

You might also like