Correct answer: (D) Index addressing mode, X(R1), where X is an offset represented in 2's complement 16-bit representation.
Explanation
The field `grade` is at a fixed offset from the start of the struct, which is $100 \times 4 = 400$ bytes. Index addressing computes the address as base register plus a constant offset, which is exactly what is needed. The other modes change the register or access the register itself.
More Instruction Set and Addressing Modes questions
GATE 2017 CS (CS1) Q59– Consider a RISC machine where each instruction is exactly 4 bytes long. Conditional and…
GATE 2014 CS (CS1) Q19– A 32-bit architecture uses one-word instructions and has 64 registers, each 32 bits. It…
GATE 2014 CS (CS1) Q65– Processors P₁ and P₂ execute the same instruction set. Under identical conditions and…
GATE 2016 CS (CS2) Q20– A processor has 40 instructions, 24 general-purpose registers and a 32-bit instruction…
GATE 2016 CS (CS2) Q41– A processor has 64 registers and 12 instructions. Each instruction contains opcode, two…
GATE 2013 CS Q38– Micro-operations are MBR←PC; MAR←X; PC←Y; Memory←MBR. Which operation can they implement?