Computer Architecture & Assembly Language MCQs with Answers
Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.
Multiple Choice Questions
Q201: Where is the interrupt vector table (IVT) located in memory?
- A: 0x0000
- B: 0x1000
- C: 0x2000
- D: 0x3000
View Answer
A
Q202: How is the address of an interrupt routine determined in the 8088 processor?
- A: By direct address specified in the interrupt call
- B: By looking up in the interrupt vector table
- C: By calculating the address from the interrupt number
- D: By using a fixed address in memory
View Answer
B
Q203: What happens when the INT instruction is executed?
- A: The processor completes the current instruction and jumps to the interrupt service routine
- B: Directly jumps to the interrupt service routine without completing the current instruction
- C: The processor halts and does not process any further instructions
- D: Returns immediately to the next instruction after the INT instruction
View Answer
A
Q204: What does the IRET instruction do?
- A: Returns to the interrupt service routine
- B: Restores the FLAGS register and returns to the interrupted program
- C: Initiates another interrupt
- D: Changes the vector for the next interrupt
View Answer
B
Q205: Which of the following is a reserved interrupt number used by the 8088 processor?
- A: INT 0
- B: INT 10
- C: INT 20
- D: INT 30
View Answer
A
Q206: In the example code provided, which interrupt number is hooked to display a custom message for a divide by zero error?
- A: INT 0
- B: INT 1
- C: INT 2
- D: INT 3
View Answer
A
Q207: What is the purpose of the BIOS interrupt INT 10?
- A: Handle keyboard input
- B: Display video output
- C: Manage hard disk operations
- D: Control printer functions
View Answer
B
Q208: Which service number is used with INT 10 to print a string on the screen?
- A: 0x13
- B: 0x10
- C: 0x21
- D: 0x16
View Answer
A
Q209: In the example code provided, what does the INT 16 service 0 do?
- A: Print a string on the screen
- B: Wait for a key press
- C: Read a key from the keyboard
- D: Terminate the program
View Answer
C
Q210: What is the purpose of the INT pin on the processor?
- A: To generate interrupts
- B: To send data to peripherals
- C: To store program instructions
- D: To control the memory bus
View Answer
A