Skip to main content

Computer Architecture & Assembly Language MCQs with Answers

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

Chapter: 17
Q381:
What instruction format does the Motorolla 68K use?
A. Destination, Source
B. Source, Destination
C. Source, Operation
D. Operation, Destination
Correct Answer: B
Chapter: 17
Q382:
Which of the following addressing modes does the Motorolla 68K support?
A. Direct addressing only
B. Immediate addressing only
C. Indirect addressing with post-increment
D. Register-indirect addressing only
Correct Answer: C
Chapter: 17
Q383:
What is the byte order used by the Sun SPARC processor?
A. Little endian only
B. Big endian only
C. User-settable on a per-program basis
D. Fixed based on the instruction set
Correct Answer: C
Chapter: 17
Q384:
How many global registers does the Sun SPARC processor have?
A. 4
B. 8
C. 16
D. 32
Correct Answer: B
Chapter: 17
Q385:
What is the size of the registers in the Sun SPARC processor?
A. 32-bit
B. 64-bit
C. 128-bit
D. 256-bit
Correct Answer: B
Chapter: 17
Q386:
Which register in the Sun SPARC architecture is conventionally used as the stack pointer?
A. g0
B. l7
C. o6
D. r31
Correct Answer: C
Chapter: 17
Q387:
What is the primary architectural difference between SPARC and Motorolla 68K processors?
A. SPARC uses a decrementing stack
B. SPARC is a load-store architecture
C. Motorolla 68K uses a register window
D. Motorolla 68K has a fixed instruction size
Correct Answer: B
Chapter: 17
Q388:
What does the instruction "SAVE" do in SPARC processors?
A. Increments the stack pointer
B. Saves the current state
C. Moves the register window forward by 16
D. Restores the previous state
Correct Answer: C
Chapter: 17
Q389:
Which instruction is used to load a signed byte in SPARC architecture?
A. STB
B. LDSB
C. LDUB
D. STSB
Correct Answer: B
Chapter: 17
Q390:
What is the purpose of the instruction "CALL" in SPARC processors?
A. Directly calls a memory address
B. Calls a function
C. Returns from a function
D. Saves the current state
Correct Answer: B
Chapter: 17
Q391:
In Motorolla 68K architecture, which flag is set to C for extended operations?
A. X (Extend)
B. N (Negative)
C. Z (Zero)
D. V (Overflow)
Correct Answer: A
Chapter: 17
Q392:
What is the purpose of the "MOVEQ" instruction in Motorolla 68K processors?
A. Move a long word
B. Move a quad word
C. Move a 16-byte block
D. Move a quick immediate value
Correct Answer: D
Chapter: 17
Q393:
How does the SPARC processor manage parameter passing and returning without saving registers inside subroutines?
A. By using a stack
B. By using register windows
C. By using special instructions
D. By using memory mapping
Correct Answer: B
Chapter: 17
Q394:
Which instruction in SPARC is used to branch if the carry is clear?
A. BCC
B. BE
C. BLE
D. BVS
Correct Answer: A

Test Your Knowledge

Take a timed quiz on Computer Architecture & Assembly Language

🚀 Start Quiz Now