CS401-Midterm
1 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
2 / 50
The iAPX888 architecture consists of _______ register.
3 / 50
When the operand of DIV instruction is of 16 bits then implied dividend will be of
4 / 50
The basic function of SCAS instruction is to
5 / 50
The physical address of the stack is obtained by
6 / 50
After the execution of “PUSH AX” statement
7 / 50
one RET is executed, it recovers the values from
8 / 50
Which mathematical operation is dominant during the execution of SCAS instruction
9 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
10 / 50
The routine that executes in response to an INT instruction is called
11 / 50
When an item is pushed on the decrementing stack, the top of the stack is
12 / 50
ASCII stands for ____________. The screen is two dimensional space having:
13 / 50
The clear screen operation initialize whole block of memory
14 / 50
One screen location corresponds to a
15 / 50
Which bit of the attributes byte represents the blue component of foreground color
16 / 50
In the Rotate Right Operation every bit moves one position to right and the bit dropped from the right is inserted at the left and:
17 / 50
if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label
18 / 50
19 / 50
After execution of JCXZ instruction CX will changed with flag affect.
20 / 50
The extended ASCII has
21 / 50
In assembly the CX register is used normally as a ______________register.
22 / 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
23 / 50
24 / 50
If the direction of the processing of a string is from higher addresses towards lower addresses then
25 / 50
“mov byte [num1],5” is _______ instruction.
26 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
27 / 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
28 / 50
29 / 50
After the execution of SAR instruction:
30 / 50
31 / 50
32 / 50
MOV instruction transfers a byte or word from which of the following source location.
33 / 50
In STOSB instruction, when DF is Set, SI is
34 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
35 / 50
REP will always
36 / 50
37 / 50
Execution of the instruction “mov word [ES : 0], 0x0741” will print
38 / 50
In 8088 architecture, whenever an element is pushed on the stack
39 / 50
Assembly language is:
40 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
41 / 50
42 / 50
The first instruction of “COM” file must be at offset:
43 / 50
allow changing specific processor behaviors and are used to play with it.
44 / 50
assembly the CX register is used normally as a ______________register.
45 / 50
Which bit of the attributes byte represents the red component of background color ?
46 / 50
decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack
47 / 50
48 / 50
Stack is a ______ that behaves in a first in last out manner.
49 / 50
Regarding assembler, which statement is true:
50 / 50
When a 16 bit number is divided by an 8 bit number, the dividend will be in
Your score is
The average score is 64%
Restart quiz