An instruction is stored at location 500 with its address field at location 501. The address field has the value 400. A processor register R 1contains the number 200. Match the addressing mode (List-I) given below with effective address (List-II) for the given instruction. List I List II a. Direct i. 200 b. Register indirect ii. 902 c. Index with R 1as the index register iii. 400 d. Relative iv. 600 Choose the correct option from those given below:
a – iii, b – i, c – iv, d - ii
Direct addressing uses the address field: 400. Register-indirect addressing uses R₁: 200. Indexed addressing gives 400 + 200 = 600. After fetching the two-location instruction, PC = 502, so relative addressing gives 502 + 400 = 902. Thus a–iii, b–i, c–iv, d–ii.
Which of the following addressing mode is best suited to access elements of an array of contiguous memory locations ?