An instruction at location 500 has its address field at 501, holding the value 400. Register R1 contains 200. Match each addressing mode with its effective address: (a) Direct, (b) Register indirect, (c) Indexed with R1 as index register, (d) Relative. Values: (i) 200, (ii) 902, (iii) 400, (iv) 600.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. (a)-(iii), (b)-(i), (c)-(iv), (d)-(ii)
Explanation
Direct: 400. Register indirect: R1 = 200. Indexed: 400 + 200 = 600. Relative: PC (502 after fetch) + 400 = 902.
More Computer System Architecture questions
- Match List I with List II. List I: (a) Isolated I/O, (b) Memory-mapped I/O, (c) I/O interface, (d) Asynchronous data transfer. List II: (i)…
- Match List I with List II. List I: (a) Micro-operation, (b) Microprogrammed control unit, (c) Interrupts, (d) Microinstruction. List II: (i…
- Which type of addressing mode, less number of memory references are required?
- Suppose that the register and the register have the bit configuration. Only the three A leftmost bits of are compared with memory K words b…
- The fault can be easily diagnosed in the micro- program control unit using diagnostic tools by maintaining the contents of
- What will be the number of states when a MOD- 2 counter is followed by a MOD- 5 counter?