CS401-Midterm
1 / 50
The second byte in the word designated for screen location holds
2 / 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
3 / 50
Which bit of the attributes byte represents the blue component of foreground color
4 / 50
The basic function of SCAS instruction is to
5 / 50
In STOS instruction, the implied source will always be in
6 / 50
decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack
7 / 50
“Far” jump is not position relative but is _______________
8 / 50
When an item is pushed on the decrementing stack, the top of the stack is
9 / 50
mov ax,5 has
10 / 50
11 / 50
After the execution of STOSW the CX will be
12 / 50
allow changing specific processor behaviors and are used to play with it.
13 / 50
Code Segment is associated to _______ register by default.
14 / 50
Which bit of the attributes byte represents the red component of background color ?
15 / 50
When a 32 bit number is divided by a 16 bit number, the quotient is of
16 / 50
17 / 50
Stack is a ______ that behaves in a first in last out manner.
18 / 50
CMPS instruction subtracts the source location to the destination location. Destination location always lies in
19 / 50
To transfer control back the RET instruction take
20 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
21 / 50
All the addressing mechanisms iniAPX88 return a number called ______ address.
22 / 50
In the word designated for one screen location, the higher address contains
23 / 50
When a 16 bit number is divided by an 8 bit number, the dividend will be in
24 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
25 / 50
To convert any digit to its ASCII representation
26 / 50
27 / 50
The routine that executes in response to an INT instruction is called
28 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
29 / 50
JC and JNC test the ____________ flag.
30 / 50
Assembly language is:
31 / 50
one RET is executed, it recovers the values from
32 / 50
which bit sets the character "blinking" on the screen?
33 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen, color of the character will be
34 / 50
After execution of JCXZ instruction CX will changed with flag affect.
35 / 50
One screen location corresponds to a
36 / 50
The first instruction of “COM” file must be at offset:
37 / 50
In a video memory, each screen location corresponds to
38 / 50
After the execution of instruction “RET 2”
39 / 50
The maximum parameters a subroutine can receive (with the help of registers) are
40 / 50
After the execution of “PUSH AX” statement
41 / 50
The instruction ADC has________ Operand(s)
42 / 50
Which is the unidirectional bus ?
Control Bus
(II) Data Bus
(III) Address Bus
43 / 50
The iAPX88 processor supports ___________ modes of memory access.
44 / 50
The prevalent convention in most high level languages is stack clearing by the
45 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
46 / 50
47 / 50
48 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
49 / 50
50 / 50
The clear screen operation initialize whole block of memory
Your score is
The average score is 64%
Restart quiz