Computer Architecture & Assembly Language MCQs with Answers
Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.
Multiple Choice Questions
Q331: In the code, what does the command mov dx, 0x3FC refer to?
- A: Data register
- B: Interrupt register
- C: Modem control register
- D: Line status register
View Answer
C
Q332: What happens when the condition cmp word [cs:screenpos], 4000 is true in the provided code?
- A: Screen is cleared
- B: Data is transmitted
- C: Program terminates
- D: Interrupt is generated
View Answer
A
Q333: Which command enables the receiver data interrupt in the provided code example?
- A: or al, 1
- B: mov dx, 0x3F9
- C: mov al, 0xE3
- D: in al, 0x21
View Answer
A
Q334: What mode allows a processor to operate in 32-bit mode?
- A: Real Mode
- B: Protected Mode
- C: Compatibility Mode
- D: 16-bit Mode
View Answer
B
Q335: How is the processor switched to protected mode?
- A: Set CR0 to 0
- B: Set CR1 to 1
- C: Set the least significant bit of CR0
- D: Set the most significant bit of CR1
View Answer
C
Q336: Which of the following is not a 32-bit register?
- A: EAX
- B: EBX
- C: AX
- D: EFLAGS
View Answer
C
Q337: What is the memory access capability of a 32-bit address register?
- A: 1MB
- B: 4GB
- C: 8GB
- D: 16GB
View Answer
B
Q338: What are the two new segment selectors introduced in 386 processors?
- A: FS and GS
- B: AX and BX
- C: CS and DS
- D: EAX and EBX
View Answer
A
Q339: What is the role of the GDT in protected mode?
- A: To store instructions
- B: To store global descriptors
- C: To store local descriptors
- D: To store memory data
View Answer
B
Q340: What does the RPL field in a selector indicate?
- A: Requested Privilege Level
- B: Register Protection Level
- C: Requested Priority Level
- D: Register Privilege Level
View Answer
A