CS401-Midterm
1 / 50
In a video memory, each screen location corresponds to
2 / 50
The basic function of SCAS instruction is to
3 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
4 / 50
The first instruction of “COM” file must be at offset:
5 / 50
Left-Shift-Operation the left most bit _______
6 / 50
“mov byte [num1], 5” is _________ instruction.
7 / 50
Which bit of the attributes byte represents the red component of background color ?
8 / 50
The physical address of the stack is obtained by
9 / 50
10 / 50
11 / 50
Assembly language is:
12 / 50
In assembly the CX register is used normally as a ______________register.
13 / 50
In the word designated for one screen location, the higher address contains
14 / 50
To transfer control back the RET instruction take
15 / 50
An offset alone is not complete without
16 / 50
To convert any digit to its ASCII representation
17 / 50
one RET is executed, it recovers the values from
18 / 50
which bit sets the character "blinking" on the screen?
19 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
20 / 50
In the instruction “CMP AX,BX” the contents of
21 / 50
The execution of the instruction “mov word [ES : 160], 0x1230” will print a character “0” on the screen at
22 / 50
The extended ASCII has
23 / 50
ASCII stands for ____________. The screen is two dimensional space having:
24 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
25 / 50
The iAPX888 architecture consists of _______ register.
26 / 50
Stack is a ______ that behaves in a first in last out manner.
27 / 50
The routine that executes in response to an INT instruction is called
28 / 50
29 / 50
After the execution of instruction “RET 2”
30 / 50
31 / 50
Regarding assembler, which statement is true:
32 / 50
The prevalent convention in most high level languages is stack clearing by the
33 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
34 / 50
When a 16 bit number is divided by an 8 bit number, the dividend will be in
35 / 50
REP will always
36 / 50
In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?
37 / 50
When an item is pushed on the decrementing stack, the top of the stack is
38 / 50
A 32 Bit processor has accumulator of ---------
39 / 50
JC and JNC test the ____________ flag.
40 / 50
Which bit of the attributes byte represents the blue component of background color ?
41 / 50
Execution of the instruction “mov word [ES : 0], 0x0741” will print
42 / 50
After execution of JCXZ instruction CX will changed with flag affect.
43 / 50
decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack
44 / 50
45 / 50
46 / 50
47 / 50
In the instruction MOV AX, 5 the number of operands are
48 / 50
Which mathematical operation is dominant during the execution of SCAS instruction
49 / 50
Which bit of the attributes byte represents the blue component of foreground color
50 / 50
If the direction of the processing of a string is from higher addresses towards lower addresses then
Your score is
The average score is 64%
Restart quiz