GATE CS 2026, set 1 · Question 15 · Computer Organization and Architecture · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Consider a processor P whose instruction set architecture is the load-store architecture. The instruction format is such that the first operand of any instruction is the destination operand.
Which one of the following sequences of instructions corresponds to the high-level language statement Z = X + Y ?
Note : X, Y, and Z are memory operands. R0, R1, and R2 are registers.
- (A) ADD Z, X, Y
- (B) LOAD R0, X ADD Z, R0, Y
- (C) ADD R0, X, Y STORE Z, R0
- (D) LOAD R0, X LOAD R1, Y ADD R2, R0, R1 STORE Z, R2
Answer
Answer (D)
Answer from the official GATE CS 2026 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes