MCQ Bank
In string instructions, the mode is called auto-decrement mode when:
- A) DF is set
- B) ZF is cleared
- C) DF is cleared
- D) CX is set
MOVS instruction is used to ____________
- A) Move register to a memory location
- B) Move a memory location to register
- C) Move memory to memory
- D) Move register to register
Which of the following is base address for displaying any character in the Screen?
- A) 0b800x
- B) 0xb800
- C) 0b800
- D) 0xb80
Near Calls are also called __________.
- A) Small call
- B) Close call
- C) intra segment
- D) inter segment
MOV AX, 0XB800 MOV ES, AX ; This instruction points ES to_______.
- A) graphics base
- B) audio base
- C) numeric base
- D) video base
The execution of the instruction "mov word [ES : 160], 0x1230" will print a character on the screen at:
- A) First column of third row
- B) Second column of second row
- C) First column of second row
- D) Second column of first row
Far calls are also called ______________ calls.
- A) obscure
- B) inter segment
- C) intra segment
- D) distant
VGA stands for
- A) Video Graphics Application
- B) Visual Graphics Adapter
- C) Video Graphic Accumulator
- D) Video Graphics Adapter
Shift Arithmetic Left (SAL) can also be called as
- A) Shift Logical Left
- B) Rotate right
- C) Rotate Left
- D) Shift Logical Right
The last location of word, corresponding to the screen will be ______
- A) 4000
- B) 1998
- C) 2000
- D) 3998
When all the general registers are used then a subroutine can receive maximum _____ parameters.
- A) 6
- B) 7
- C) 5
- D) 4
0x represents
- A) Decimal Numbers
- B) 0 Based Numbers
- C) Hexadecimal Numbers
- D) Binary Number
mov byte [swap], 0 What would happen if we dont use the keyword byte or word before the operand?
- A) Its good to use, otherwise size mismatch error may occur
- B) Nothing will happen, program will run smoothly all the time
- C) Its useless to use these keywords
- D) Nothing will happen but its good practice to use theses keywords
mov byte [swap], 0 What does above code do?
- A) It stores the byte value of 0 to location named as swap
- B) It simply stores the 0 value to location named as swap
- C) It stores the byte value of 0 to location named as byte
- D) It simply stores the 0 value to location named as byte