CS401-Midterm
1 / 50
In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?
2 / 50
One screen location corresponds to a
3 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
4 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
5 / 50
In assembly the CX register is used normally as a ______________register.
6 / 50
8088 is a 16bit processor with its accumulator and all registers of __________.
7 / 50
When a 32 bit number is divided by a 16 bit number, the quotient will be stored in
8 / 50
one RET is executed, it recovers the values from
9 / 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
10 / 50
_______ register holds the address of next instruction is to be executed
11 / 50
The maximum parameters a subroutine can receive (with the help of registers) are
12 / 50
After the execution of “PUSH AX” statement
13 / 50
After the execution of instruction “RET 2”
14 / 50
In the word designated for one screen location, the higher address contains
15 / 50
After the execution of instruction “RET ”
16 / 50
ASCII stands for ____________. The screen is two dimensional space having:
17 / 50
The basic function of SCAS instruction is to
18 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
19 / 50
An offset alone is not complete without
20 / 50
REP will always
21 / 50
Execution of the instruction “mov word [ES : 0], 0x0741” will print
22 / 50
In STOS instruction, the implied source will always be in
23 / 50
To transfer control back the RET instruction take
24 / 50
25 / 50
Which is the unidirectional bus ?
Control Bus
(II) Data Bus
(III) Address Bus
26 / 50
After the execution of MOVS instruction which of the following registers are updated
27 / 50
28 / 50
When the operand of DIV instruction is of 16 bits then implied dividend will be of
29 / 50
If the direction of the processing of a string is from higher addresses towards lower addresses then
30 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
31 / 50
Which bit of the attributes byte represents the red component of background color ?
32 / 50
In a video memory, each screen location corresponds to
33 / 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
34 / 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
35 / 50
one Only ___________ instructions allow moving data from memory to memory.
36 / 50
When an item is pushed on the decrementing stack, the top of the stack is
37 / 50
assembly the CX register is used normally as a ______________register.
38 / 50
CMPS instruction subtracts the source location to the destination location. Destination location always lies in
39 / 50
40 / 50
The first instruction of “COM” file must be at offset:
41 / 50
42 / 50
The second byte in the word designated for one screen location holds
43 / 50
The physical address of the stack is obtained by
44 / 50
MOV instruction transfers a byte or word from which of the following source location.
45 / 50
allow changing specific processor behaviors and are used to play with it.
46 / 50
47 / 50
48 / 50
49 / 50
In 8088 architecture, whenever an element is pushed on the stack
50 / 50
Your score is
The average score is 64%
Restart quiz