CS401-Midterm
1 / 50
After execution of JCXZ instruction CX will changed with flag affect.
2 / 50
The iAPX88 processor supports ___________ modes of memory access.
3 / 50
The basic function of SCAS instruction is to
4 / 50
To transfer control back the RET instruction take
5 / 50
In a video memory, each screen location corresponds to
6 / 50
which bit sets the character "blinking" on the screen?
7 / 50
REP will always
8 / 50
Assembly language is:
9 / 50
one DIV instruction has
10 / 50
MOV instruction transfers a byte or word from which of the following source location.
11 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
12 / 50
JC and JNC test the ____________ flag.
13 / 50
Only instructions allow moving data from memory to memory.
14 / 50
In the word designated for one screen location, the higher address contains
15 / 50
The execution of the instruction “mov word [ES: DI], 0x0720”
16 / 50
To convert any digit to its ASCII representation
17 / 50
If the direction of the processing of a string is from higher addresses towards lower addresses then
18 / 50
In STOS instruction, the implied source will always be in
19 / 50
Regarding assembler, which statement is true:
20 / 50
physical address of the stack is obtained by
21 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen, color of the character will be
22 / 50
The physical address of the stack is obtained by
23 / 50
In STOSB instruction, when DF is Set, SI is
24 / 50
An offset alone is not complete without
25 / 50
Which mathematical operation is dominant during the execution of SCAS instruction
26 / 50
After the execution of “PUSH AX” statement
27 / 50
After the execution of instruction “RET 2”
28 / 50
Which bit of the attributes byte represents the blue component of foreground color
29 / 50
30 / 50
The routine that executes in response to an INT instruction is called
31 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
32 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
33 / 50
RETF will pop the offset in the
34 / 50
When a 32 bit number is divided by a 16 bit number, the quotient will be stored in
35 / 50
36 / 50
The second byte in the word designated for screen location holds
37 / 50
If we want to divide a signed number by 2, this operation can better be accomplished by
38 / 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
39 / 50
The first instruction of “COM” file must be at offset:
40 / 50
Left-Shift-Operation the left most bit _______
41 / 50
_________ is one of the reasons due to which string instructions are used in 8088
42 / 50
Code Segment is associated to _______ register by default.
43 / 50
44 / 50
45 / 50
Which bit of the attributes byte represents the blue component of background color ?
46 / 50
47 / 50
In assembly the CX register is used normally as a ______________register.
48 / 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
49 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
50 / 50
One screen location corresponds to a
Your score is
The average score is 64%
Restart quiz