CS401-Midterm
1 / 50
“mov byte [num1], 5” is _________ instruction.
2 / 50
The routine that executes in response to an INT instruction is called
3 / 50
After the execution of STOSW, the CX will be
4 / 50
When a 16 bit number is divided by an 8 bit number, the dividend will be in
5 / 50
The physical address of the stack is obtained by
6 / 50
While using STOBS, if DF=1 then
7 / 50
allow changing specific processor behaviors and are used to play with it.
8 / 50
One screen location corresponds to a
9 / 50
After execution of JCXZ instruction CX will changed with flag affect.
10 / 50
The second byte in the word designated for screen location holds
11 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
12 / 50
After the execution of instruction “RET”
13 / 50
The iAPX888 architecture consists of _______ register.
14 / 50
REP will always
15 / 50
JC and JNC test the ____________ flag.
16 / 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
17 / 50
Which bit of the attributes byte represents the blue component of foreground color
18 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
19 / 50
20 / 50
Left-Shift-Operation the left most bit _______
21 / 50
When an item is pushed on the decrementing stack, the top of the stack is
22 / 50
After the execution of SAR instruction:
23 / 50
The clear screen operation initialize whole block of memory
24 / 50
After the execution of MOVS instruction which of the following registers are updated
25 / 50
In a video memory, each screen location corresponds to
26 / 50
In STOS instruction, the implied source will always be in
27 / 50
In assembly the CX register is used normally as a ______________register.
28 / 50
Which bit of the attributes byte represents the red component of background color ?
29 / 50
30 / 50
8088 is a 16bit processor with its accumulator and all registers of __________.
31 / 50
32 / 50
To transfer control back the RET instruction take
33 / 50
34 / 50
If the direction of the processing of a string is from higher addresses towards lower addresses then
35 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
36 / 50
In the instruction “CMP AX,BX” the contents of
37 / 50
| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______
38 / 50
The prevalent convention in most high level languages is stack clearing by the
39 / 50
In STOSB instruction, when DF is Set, SI is
40 / 50
A 32 Bit processor has accumulator of ---------
41 / 50
Which bit of the attributes byte represents the blue component of background color ?
42 / 50
43 / 50
44 / 50
45 / 50
The extended ASCII has
46 / 50
Regarding assembler, which statement is true:
47 / 50
Code Segment is associated to _______ register by default.
48 / 50
if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label
49 / 50
All the addressing mechanisms iniAPX88 return a number called ______ address.
50 / 50
The basic function of SCAS instruction is to
Your score is
The average score is 64%
Restart quiz