CS401-Midterm
1 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
2 / 50
Which bit of the attributes byte represents the red component of background color ?
3 / 50
Left-Shift-Operation the left most bit _______
4 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
5 / 50
Stack is a ______ that behaves in a first in last out manner.
6 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
7 / 50
8088 is a 16bit processor with its accumulator and all registers of __________.
8 / 50
After the execution of instruction “RET 2”
9 / 50
The basic function of SCAS instruction is to
10 / 50
In a video memory, each screen location corresponds to
11 / 50
JC and JNC test the ____________ flag.
12 / 50
REP will always
13 / 50
14 / 50
MOV instruction transfers a byte or word from which of the following source location.
15 / 50
Which bit of the attributes byte represents the blue component of foreground color
16 / 50
“Far” jump is not position relative but is _______________
17 / 50
In STOSB instruction, when DF is Set, SI is
18 / 50
In the instruction “CMP AX,BX” the contents of
19 / 50
After the execution of SAR instruction:
20 / 50
one Only ___________ instructions allow moving data from memory to memory.
21 / 50
“mov byte [num1],5” is _______ instruction.
22 / 50
The instruction ADC has________ Operand(s)
23 / 50
When an item is pushed on the decrementing stack, the top of the stack is
24 / 50
When the operand of DIV instruction is of 16 bits then implied dividend will be of
25 / 50
When two 16bit numbers are added the answer can be 17 bits long, this extra bit that won’t fit in the target register is placed in the where it can be used and tested
26 / 50
Regarding assembler, which statement is true:
27 / 50
ASCII stands for ____________. The screen is two dimensional space having:
28 / 50
29 / 50
30 / 50
Which bit of the attributes byte represents the blue component of background color ?
31 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
32 / 50
assembly the CX register is used normally as a ______________register.
33 / 50
34 / 50
The extended ASCII has
35 / 50
CMPS instruction subtracts the source location to the destination location. Destination location always lies in
36 / 50
Only instructions allow moving data from memory to memory.
37 / 50
The maximum parameters a subroutine can receive (with the help of registers) are
38 / 50
When a 32 bit number is divided by a 16 bit number, the quotient is of
39 / 50
One screen location corresponds to a
40 / 50
mov ax,5 has
41 / 50
The second byte in the word designated for one screen location holds
42 / 50
43 / 50
In 8088 architecture, whenever an element is pushed on the stack
44 / 50
45 / 50
While using STOBS, if DF=1 then
46 / 50
An offset alone is not complete without
47 / 50
After the execution of MOVS instruction which of the following registers are updated
48 / 50
To convert any digit to its ASCII representation
49 / 50
_______ register holds the address of next instruction is to be executed
50 / 50
The execution of the instruction “mov word [ES: DI], 0x0720”
Your score is
The average score is 64%
Restart quiz