Computer Architecture & Assembly Language MCQs with Answers

Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.

Multiple Choice Questions

Q41: What is the purpose of using mov bx, num1 in an assembly program?
  • A: To move a value to BX register
  • B: To initialize BX with a constant
  • C: To point BX to the first number in an array
  • D: To perform an arithmetic operation
View Answer
C

Q42: What does the instruction add bx, 2 do in the context of an assembly program?
  • A: Adds 2 to the value in BX
  • B: Advances BX to the next memory location
  • C: Increments the value in memory by 2
  • D: Points BX to the next byte
View Answer
B

Q43: Which register is commonly used as a counter in loops in assembly language?
  • A: AX
  • B: BX
  • C: CX
  • D: DX
View Answer
C

Q44: What does the instruction jnz l1 do?
  • A: Jumps to label l1 if the zero flag is not set
  • B: Jumps to label l1 if the zero flag is set
  • C: Jumps unconditionally to label l1
  • D: Jumps to label l1 if the carry flag is set
View Answer
A

Q45: What addressing mode is used when an array base is added to BX containing an array index?
  • A: Direct Addressing
  • B: Indirect Addressing
  • C: Register + Offset Addressing
  • D: Immediate Addressing
View Answer
C

Q46: What is the significance of the segment override prefix in assembly language?
  • A: It changes the operand size
  • B: It modifies the default segment association for an instruction
  • C: It changes the addressing mode
  • D: It alters the memory access method
View Answer
B

Q47: What happens during segment wraparound?
  • A: The program throws an error
  • B: The segment value is reset to zero
  • C: The effective address calculation carries over
  • D: Accesses beyond the segment limit wrap around to the start of the segment
View Answer
D

Q48: How many addressing modes does the iAPX88 processor support?
  • A: Five
  • B: Six
  • C: Seven
  • D: Eight
View Answer
C

Q49: What happens if you attempt to use a part of a register to access memory (e.g., BL or BH)?
  • A: The operation succeeds normally
  • B: The operation fails due to illegal instruction
  • C: The assembler will guess the size
  • D: The operation will execute with a warning
View Answer
B

Q50: What type of jump is represented by the instruction jnz in assembly language?
  • A: Conditional Jump
  • B: Unconditional Jump
  • C: Direct Jump
  • D: Indexed Jump
View Answer
A

Test Your Knowledge

Take a timed quiz on Computer Architecture & Assembly Language

🚀 Start Quiz Now