Computer Architecture & Assembly Language MCQs with Answers
Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.
Multiple Choice Questions
Q21: What does the direction flag control in string instructions?
- A: Whether the operation is performed from bottom to top or top to bottom
- B: Whether the operation is performed from top to bottom or bottom to top
- C: The data type used in the operation
- D: The size of the block of data being operated on
View Answer
B
Q22: Which segment register points to the currently executing code?
- A: DS
- B: SS
- C: CS
- D: ES
View Answer
C
Q23: How many bytes are in a word in the Intel 8088 architecture?
- A: 1 byte
- B: 2 bytes
- C: 4 bytes
- D: 8 bytes
View Answer
B
Q24: What is the opcode for moving a constant into the AX register?
- A: B8
- B: BB
- C: 1
- D: 4C
View Answer
A
Q25: In the segmented memory model, what is the maximum size of a segment?
- A: 16 KB
- B: 64 KB
- C: 256 KB
- D: 1 MB
View Answer
B
Q26: How is a physical address calculated from a segment and an offset?
- A: Segment × 16 + Offset
- B: Segment + Offset × 16
- C: Segment + Offset
- D: Segment × Offset
View Answer
A
Q27: What does the overflow flag indicate?
- A: Carry into the MSB is the same as the carry out of the MSB
- B: The result of an operation exceeds the size of the register
- C: A zero result in an arithmetic operation
- D: An error in the logical operation
View Answer
B
Q28: Which register holds the offset of the next instruction to execute?
- A: AX
- B: BX
- C: IP
- D: SP
View Answer
C
Q29: What is the default segment register for the IP register?
- A: CS
- B: DS
- C: SS
- D: ES
View Answer
A
Q30: In a little-endian system, which byte is stored at the lower memory address?
- A: Most significant byte
- B: Least significant byte
- C: The higher byte
- D: The lower byte
View Answer
B