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
Left-Shift-Operation the left most bit _______
3 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
4 / 50
To convert any digit to its ASCII representation
5 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
6 / 50
assembly the CX register is used normally as a ______________register.
7 / 50
When a 16 bit number is divided by an 8 bit number, the dividend will be in
8 / 50
After execution of JCXZ instruction CX will changed with flag affect.
9 / 50
Code Segment is associated to _______ register by default.
10 / 50
After the execution of STOSW the CX will be
11 / 50
12 / 50
In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?
13 / 50
In STOS instruction, the implied source will always be in
14 / 50
While using STOBS, if DF=1 then
15 / 50
An offset alone is not complete without
16 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
17 / 50
MOV instruction transfers a byte or word from which of the following source location.
18 / 50
Only instructions allow moving data from memory to memory.
19 / 50
In assembly the CX register is used normally as a ______________register.
20 / 50
21 / 50
Which bit of the attributes byte represents the blue component of background color ?
22 / 50
In the instruction “CMP AX,BX” the contents of
23 / 50
After the execution of “PUSH AX” statement
24 / 50
JC and JNC test the ____________ flag.
25 / 50
REP will always
26 / 50
Assembly language is:
27 / 50
Which bit of the attributes byte represents the red component of background color ?
28 / 50
“Far” jump is not position relative but is _______________
29 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
30 / 50
After the execution of SAR instruction:
31 / 50
“mov byte [num1],5” is _______ instruction.
32 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
33 / 50
decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack
34 / 50
The physical address of the stack is obtained by
35 / 50
The basic function of SCAS instruction is to
36 / 50
37 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
38 / 50
All the addressing mechanisms iniAPX88 return a number called ______ address.
39 / 50
If the direction of the processing of a string is from higher addresses towards lower addresses then
40 / 50
The iAPX88 processor supports ___________ modes of memory access.
41 / 50
42 / 50
The iAPX888 architecture consists of _______ register.
43 / 50
One screen location corresponds to a
44 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
45 / 50
The second byte in the word designated for screen location holds
46 / 50
47 / 50
Which is the unidirectional bus ?
Control Bus
(II) Data Bus
(III) Address Bus
48 / 50
49 / 50
50 / 50
The routine that executes in response to an INT instruction is called
Your score is
The average score is 64%
Restart quiz