CS401-Midterm
1 / 50
In assembly the CX register is used normally as a ______________register.
2 / 50
CMPS instruction subtracts the source location to the destination location. Destination location always lies in
3 / 50
The routine that executes in response to an INT instruction is called
4 / 50
which bit sets the character "blinking" on the screen?
5 / 50
The iAPX888 architecture consists of _______ register.
6 / 50
The first instruction of “COM” file must be at offset:
7 / 50
After the execution of instruction “RET 2”
8 / 50
“mov byte [num1],5” is _______ instruction.
9 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
10 / 50
While using STOBS, if DF=1 then
11 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
12 / 50
“Far” jump is not position relative but is _______________
13 / 50
Which bit of the attributes byte represents the red component of background color ?
14 / 50
The physical address of the stack is obtained by
15 / 50
Which mathematical operation is dominant during the execution of SCAS instruction
16 / 50
17 / 50
18 / 50
Which is the unidirectional bus ?
Control Bus
(II) Data Bus
(III) Address Bus
19 / 50
In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?
20 / 50
Execution of the instruction “mov word [ES : 0], 0x0741” will print
21 / 50
The iAPX88 processor supports ___________ modes of memory access.
22 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
23 / 50
The second byte in the word designated for screen location holds
24 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
25 / 50
In a video memory, each screen location corresponds to
26 / 50
One screen location corresponds to a
27 / 50
Assembly language is:
28 / 50
29 / 50
When an item is pushed on the decrementing stack, the top of the stack is
30 / 50
31 / 50
After the execution of SAR instruction:
32 / 50
An offset alone is not complete without
33 / 50
if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label
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
When a 32 bit number is divided by a 16 bit number, the quotient is of
36 / 50
In the instruction MOV AX, 5 the number of operands are
37 / 50
The second byte in the word designated for one screen location holds
38 / 50
A 32 Bit processor has accumulator of ---------
39 / 50
When a very large number is divided by very small number so that the quotient is larger than the space provided, this is called
40 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
41 / 50
To transfer control back the RET instruction take
42 / 50
43 / 50
44 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen, color of the character will be
45 / 50
In the instruction “CMP AX,BX” the contents of
46 / 50
JC and JNC test the ____________ flag.
47 / 50
48 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
49 / 50
Only instructions allow moving data from memory to memory.
50 / 50
Your score is
The average score is 64%
Restart quiz