CS401-Midterm
1 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
2 / 50
To convert any digit to its ASCII representation
3 / 50
4 / 50
Only instructions allow moving data from memory to memory.
5 / 50
In the word designated for one screen location, the higher address contains
6 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
7 / 50
In assembly the CX register is used normally as a ______________register.
8 / 50
Regarding assembler, which statement is true:
9 / 50
When a 32 bit number is divided by a 16 bit number, the quotient will be stored in
10 / 50
After the execution of MOVS instruction which of the following registers are updated
11 / 50
Which mathematical operation is dominant during the execution of SCAS instruction
12 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
13 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
14 / 50
Each screen location corresponds to a word, the lower byte of this word contains ____
15 / 50
The routine that executes in response to an INT instruction is called
16 / 50
The physical address of the stack is obtained by
17 / 50
The first instruction of “COM” file must be at offset:
18 / 50
Which bit of the attributes byte represents the blue component of background color ?
19 / 50
20 / 50
MOV instruction transfers a byte or word from which of the following source location.
21 / 50
In the instruction MOV AX, 5 the number of operands are
22 / 50
one Only ___________ instructions allow moving data from memory to memory.
23 / 50
24 / 50
25 / 50
The basic function of SCAS instruction is to
26 / 50
In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?
27 / 50
_________ is one of the reasons due to which string instructions are used in 8088
28 / 50
In STOS instruction, the implied source will always be in
29 / 50
30 / 50
A 32 Bit processor has accumulator of ---------
31 / 50
The execution of the instruction “mov word [ES: DI], 0x0720”
32 / 50
Execution of the instruction “mov word [ES : 0], 0x0741” will print
33 / 50
ASCII stands for ____________. The screen is two dimensional space having:
34 / 50
After the execution of REP instruction CX will be decremented then which of the following flags will be affected?
35 / 50
36 / 50
The instruction ADC has________ Operand(s)
37 / 50
REP will always
38 / 50
When a 32 bit number is divided by a 16 bit number, the quotient is of
39 / 50
The prevalent convention in most high level languages is stack clearing by the
40 / 50
41 / 50
RETF will pop the offset in the
42 / 50
Left-Shift-Operation the left most bit _______
43 / 50
After execution of JCXZ instruction CX will changed with flag affect.
44 / 50
45 / 50
decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack
46 / 50
Code Segment is associated to _______ register by default.
47 / 50
allow changing specific processor behaviors and are used to play with it.
48 / 50
49 / 50
one DIV instruction has
50 / 50
In the instruction “CMP AX,BX” the contents of
Your score is
The average score is 64%
Restart quiz