Advanced Computer Architecture MCQs with Answers
Practice important Advanced Computer Architecture MCQs with answers and explanations.
Multiple Choice Questions
Q681: Which instruction is used to store an error code in r1?
- A: movi r1, FFFF19
- B: movi r1, -1
- C: movi r2, x
- D: load r1, [r2]
View Answer
A
Q682: What does the instruction load r2, [a] accomplish?
- A: Loads a constant into r2
- B: Loads a value from memory into r2
- C: Stores a value in memory
- D: Moves a value from r2 to r1
View Answer
B
Q683: If a signed value cannot fit in 5 bits, which instruction can be used?
- A: movi r2, x followed by load r1, [r2]
- B: load r1, [x]
- C: store r1, [x]
- D: movi r1, x
View Answer
A
Q684: What is the result of executing movi r2, 10, movi r3, 20, mul r1, r2, r3, and addi r1, r1, 1?
- A: r1 contains 10
- B: r1 contains 20
- C: r1 contains 200
- D: r1 contains 201
View Answer
D
Q685: Which of the following is a technique for handling large values in FALCON-A?
- A: Use immediate ALU instructions
- B: Store the value in memory using .sw directive
- C: Use a load instruction
- D: Store values in registers
View Answer
B
Q686: Which of the following can be faster than multiplication or division?
- A: Logical instructions
- B: Bit setting instructions
- C: Shift instructions
- D: Immediate data loading
View Answer
C
Q687: When executing the int instruction, what changes in the program counter (PC)?
- A: It stays the same
- B: It resets to zero
- C: It jumps to the ISR address
- D: It exits the program
View Answer
C
Q688: Fill in the blank: The instruction out r1, controlp transfers the value in ______ to the output port.
- A: memory location
- B: register r1
- C: the I/O port
- D: status register
View Answer
B
Q689: If movi r1, -1 is converted to machine language, what does it become?
- A: movi r1, FFFF
- B: movi r1, FFFF19
- C: movi r1, 1
- D: movi r1, 0
View Answer
A
Q690: What instruction is used for transferring control in FALCON-A?
- A: movi
- B: jump
- C: call
- D: load
View Answer
C