Question 136
An instruction is stored at location 500 with its address field at location 501. The address field has the value 400. A processor register R1 contains the number 200. Match the addressing mode (List-I) given below with effective address (List-II) for the given instruction:
Match List-I with List-II :
Answer : 1. (a)-(iii), (b)-(i), (c)-(iv), (d)-(ii) Match List-I with List-II :
List I | List II |
a. Direct | i. 200 |
b. Register indirect | ii. 902 |
c. Index with R1 as the index register | iii. 400 |
d. Relative | iv. 600 |
Previous | Next |
UGC NET CS December 2019 - Question 135 | UGC NET CS December 2019 - Question 137 |
⋮
Direct Address = 400
Relative Address = Next Instruction memory location + Direct Address value
= 502 + 400
= 902
Register indirect Address= 200
Indexed Address = Register Indirect Address + Direct Address
= 200 + 400
= 600
So, option 1 is correct answer