CS401-Midterm
1 / 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
2 / 50
When an item is pushed on the decrementing stack, the top of the stack is
3 / 50
In the instruction “CMP AX,BX” the contents of
4 / 50
All the addressing mechanisms iniAPX88 return a number called ______ address.
5 / 50
After the execution of “PUSH AX” statement
6 / 50
The routine that executes in response to an INT instruction is called
7 / 50
When the operand of DIV instruction is of 16 bits then implied dividend will be of
8 / 50
_________ is one of the reasons due to which string instructions are used in 8088
9 / 50
If we want to divide a signed number by 2, this operation can better be accomplished by
10 / 50
Which mathematical operation is dominant during the execution of SCAS instruction
11 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
12 / 50
Which bit of the attributes byte represents the blue component of background color ?
13 / 50
decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack
14 / 50
In assembly the CX register is used normally as a ______________register.
15 / 50
Code Segment is associated to _______ register by default.
16 / 50
which bit sets the character "blinking" on the screen?
17 / 50
After the execution of SAR instruction:
18 / 50
After the execution of instruction “RET 2”
19 / 50
“Far” jump is not position relative but is _______________
20 / 50
The first instruction of “COM” file must be at offset:
21 / 50
In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?
22 / 50
allow changing specific processor behaviors and are used to play with it.
23 / 50
In 8088 architecture, whenever an element is pushed on the stack
24 / 50
mov ax,5 has
25 / 50
RETF will pop the offset in the
26 / 50
one RET is executed, it recovers the values from
27 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
28 / 50
29 / 50
Which bit of the attributes byte represents the blue component of foreground color
30 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
31 / 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
32 / 50
In STOS instruction, the implied source will always be in
33 / 50
In a video memory, each screen location corresponds to
34 / 50
REP will always
35 / 50
When a 32 bit number is divided by a 16 bit number, the quotient will be stored in
36 / 50
While using STOBS, if DF=1 then
37 / 50
38 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
39 / 50
Stack is a ______ that behaves in a first in last out manner.
40 / 50
To convert any digit to its ASCII representation
41 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
42 / 50
MOV instruction transfers a byte or word from which of the following source location.
43 / 50
After execution of JCXZ instruction CX will changed with flag affect.
44 / 50
| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______
45 / 50
The extended ASCII has
46 / 50
The basic function of SCAS instruction is to
47 / 50
In STOSB instruction, when DF is Set, SI is
48 / 50
After the execution of instruction “RET”
49 / 50
one DIV instruction has
50 / 50
Your score is
The average score is 64%
Restart quiz