CS401-Midterm
1 / 50
which bit sets the character "blinking" on the screen?
2 / 50
The first instruction of “COM” file must be at offset:
3 / 50
If the address of memory location Num1 is 0117 and its content is 0005 then after execution of the instruction “ mov bx, Num1” bx will contain
4 / 50
assembly the CX register is used normally as a ______________register.
5 / 50
Which mathematical operation is dominant during the execution of SCAS instruction
6 / 50
“mov byte [num1],5” is _______ instruction.
7 / 50
After the execution of “PUSH AX” statement
8 / 50
RETF will pop the offset in the
9 / 50
JC and JNC test the ____________ flag.
10 / 50
The second byte in the word designated for screen location holds
11 / 50
The routine that executes in response to an INT instruction is called
12 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
13 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
14 / 50
After execution of JCXZ instruction CX will changed with flag affect.
15 / 50
In STOS instruction, the implied source will always be in
16 / 50
A 32 Bit processor has accumulator of ---------
17 / 50
Left-Shift-Operation the left most bit _______
18 / 50
ASCII stands for ____________. The screen is two dimensional space having:
19 / 50
mov ax,5 has
20 / 50
MOV instruction transfers a byte or word from which of the following source location.
21 / 50
22 / 50
The basic function of SCAS instruction is to
23 / 50
Only instructions allow moving data from memory to memory.
24 / 50
To convert any digit to its ASCII representation
25 / 50
26 / 50
The instruction ADC has________ Operand(s)
27 / 50
REP will always
28 / 50
29 / 50
The physical address of the stack is obtained by
30 / 50
31 / 50
32 / 50
33 / 50
Assembly language is:
34 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
35 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
36 / 50
In 8088 architecture, whenever an element is pushed on the stack
37 / 50
CMPS instruction subtracts the source location to the destination location. Destination location always lies in
38 / 50
one DIV instruction has
39 / 50
In the instruction “CMP AX,BX” the contents of
40 / 50
Which bit of the attributes byte represents the red component of background color ?
41 / 50
42 / 50
Regarding assembler, which statement is true:
43 / 50
44 / 50
Which is the unidirectional bus ?
Control Bus
(II) Data Bus
(III) Address Bus
45 / 50
The second byte in the word designated for one screen location holds
46 / 50
To transfer control back the RET instruction take
47 / 50
One screen location corresponds to a
48 / 50
49 / 50
Which bit of the attributes byte represents the blue component of foreground color
50 / 50
“mov byte [num1], 5” is _________ instruction.
Your score is
The average score is 64%
Restart quiz