MCQ Bank
RET pops the ______ at the top of the stack into the instruction pointer and increments SP by ________.
- A) byte, one
- B) word, one
- C) word, two
- D) byte, two
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) Nothing will happen but its good practice to use theses keywords
- D) Its useless to use these keywords
REP with _____will utilizes the full processor power to do the scrolling in minimum time
- A) SCAS
- B) LES
- C) MOVS
- D) REPNE
Far calls are also called ______________ calls.
- A) inter segment
- B) obscure
- C) intra segment
- D) distant
The execution of the instruction "mov word [ES : 160], 0x1230" will print a character on the screen at:
- A) Second column of first row
- B) First column of second row
- C) Second column of second row
- D) First column of third row
When all the general registers are used then a subroutine can receive maximum _____ parameters.
- A) 5
- B) 7
- C) 6
- D) 4
Shift Arithmetic Left (SAL) can also be called as
- A) Rotate Left
- B) Shift Logical Right
- C) Shift Logical Left
- D) Rotate right
Which of the following statement best describes the Shift Logical Right (SHR) operation?
- A) The Right most bit is transferred to AX
- B) Inserts a zero from right and moves every bit one position to the left
- C) The Left most bit is transferred to AX
- D) Inserts a zero from left and moves every bit one position to the right
The ____ shifting is achieved by multiplying the number by 2.
- A) Left
- B) Right
- C)
- D)
The last location of word, corresponding to the screen will be ______
- A) 3998
- B) 1998
- C) 2000
- D) 4000
0x represents
- A) Hexadecimal Numbers
- B) Decimal Numbers
- C) 0 Based Numbers
- D) Binary Number
If operand is 16bits in DIV instruction then dividend will be ____
- A) 32-bits
- B) 8-bits
- C) 64-bits
- D) 16-bits
mov byte [swap], 0 What does above code do?
- A) It simply stores the 0 value to location named as swap
- B) It stores the byte value of 0 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
SP is decremented by ___________ when an element is pushed on the stack.
- A) 4
- B) 1
- C) 2
- D) 3
To access the video memory ______register is used.
- A) DI
- B) ES
- C) BH
- D) AX
REPE repeat the following string instruction while the _______is set.
- A) Direction flag
- B) Zero flag
- C) Carry flag
- D) Parity flag
Near Calls are also called __________.
- A) Close call
- B) intra segment
- C) inter segment
- D) Small call
In string instructions, the mode is called auto-decrement mode when:
- A) DF is cleared
- B) CX is set
- C) ZF is cleared
- D) DF is set
Which of the following is base address for displaying any character in the Screen?
- A) 0b800
- B) 0b800x
- C) 0xb80
- D) 0xb800
What would happen after execution of the following instructions? mov [vuid+di+2], [vuid+di] mov [vuid+di], [vuid+di+2]
- A) It will swap digit of location named as vuid with its previous digit
- B) This will cause error
- C) Same value will be copied to both locations
- D) It will swap digit of location named as vuid with its next digit