CS401-Midterm
1 / 50
To convert any digit to its ASCII representation
2 / 50
A 32 Bit processor has accumulator of ---------
3 / 50
When the operand of DIV instruction is of 16 bits then implied dividend will be of
4 / 50
In the Rotate Right Operation every bit moves one position to right and the bit dropped from the right is inserted at the left and:
5 / 50
The routine that executes in response to an INT instruction is called
6 / 50
All the addressing mechanisms in iAPX88 return a number called _____________ address.
7 / 50
The maximum parameters a subroutine can receive (with the help of registers) are
8 / 50
The iAPX888 architecture consists of _______ register.
9 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
10 / 50
| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______
11 / 50
After execution of JCXZ instruction CX will changed with flag affect.
12 / 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
13 / 50
one Only ___________ instructions allow moving data from memory to memory.
14 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
15 / 50
The extended ASCII has
16 / 50
In the instruction MOV AX, 5 the number of operands are
17 / 50
_______ register holds the address of next instruction is to be executed
18 / 50
The prevalent convention in most high level languages is stack clearing by the
19 / 50
If we want to divide a signed number by 2, this operation can better be accomplished by
20 / 50
After the execution of instruction “RET 2”
21 / 50
CMPS instruction subtracts the source location to the destination location. Destination location always lies in
22 / 50
When a 16 bit number is divided by an 8 bit number, the dividend will be in
23 / 50
In STOSB instruction, when DF is Set, SI is
24 / 50
The second byte in the word designated for screen location holds
25 / 50
In assembly the CX register is used normally as a ______________register.
26 / 50
Code Segment is associated to _______ register by default.
27 / 50
When a 32 bit number is divided by a 16 bit number, the quotient will be stored in
28 / 50
When a 32 bit number is divided by a 16 bit number, the quotient is of
29 / 50
After the execution of STOSW the CX will be
30 / 50
ASCII stands for ____________. The screen is two dimensional space having:
31 / 50
32 / 50
The iAPX88 processor supports ___________ modes of memory access.
33 / 50
Left-Shift-Operation the left most bit _______
34 / 50
An offset alone is not complete without
35 / 50
In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?
36 / 50
decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack
37 / 50
The execution of the instruction “mov word [ES : 160], 0x1230” will print a character “0” on the screen at
38 / 50
The basic function of SCAS instruction is to
39 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
40 / 50
Only instructions allow moving data from memory to memory.
41 / 50
The clear screen operation initialize whole block of memory
42 / 50
The execution of the instruction “mov word [ES: DI], 0x0720”
43 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen, color of the character will be
44 / 50
In a video memory, each screen location corresponds to
45 / 50
Assembly language is:
46 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
47 / 50
Which bit of the attributes byte represents the blue component of background color ?
48 / 50
Which bit of the attributes byte represents the red component of background color ?
49 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
50 / 50
After the execution of SAR instruction:
Your score is
The average score is 64%
Restart quiz