Match each addressing mode in List I with a data element or an element of a data structure (in a high-level language) in List II:
| List I | List II |
|---|---|
| P. Immediate | 1. Element of an array |
| Q. Indirect | 2. Pointer |
| R. Base with index | 3. Element of a record |
| S. Base with offset/displacement | 4. Constant |
Tap to open full sizeFigure description
A two-column matching table. List I column has four addressing modes labeled P, Q, R, S: P = Immediate, Q = Indirect, R = Base with index, S = Base with offset/displacement. List II column has four data elements labeled 1, 2, 3, 4: 1 = Element of an array, 2 = Pointer, 3 = Element of a record, 4 = Constant. The question asks to match each item in List I to the correct item in List II.
- (A)
P–4, Q–3, R–1, S–2
- (B)
P–4, Q–2, R–1, S–3
- (C)
P–1, Q–4, R–3, S–2
- (D)
P–2, Q–3, R–1, S–4