1 votes 1 votes A two word instruction is stored in memory at an address designated by symbol W. The address field of the instruction (stored at W+1) is designated by symbol Y. The operand used during the execution of the instruction is stored at an address symbolized by the Z. Which of the following is/are correct if the addressing mode used is the relative addressing mode? Z = M [Y] + (Y + 1) Z = (W + 2) + M [Y] Z = M[M[Y]] + Y Both (A) and (B) Anirban Biswas asked Jan 15, 2017 Anirban Biswas 10.7k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply vishwa ratna commented Jan 15, 2017 reply Follow Share which test series question is this? I think answer should be 1. 0 votes 0 votes saurabh rai commented Jan 15, 2017 reply Follow Share https://gateoverflow.in/105369/morris-mano-excercise 0 votes 0 votes Salazar commented Dec 19, 2017 reply Follow Share https://gateoverflow.in/79281/relative-addressing-mode 0 votes 0 votes ukone commented Mar 21 reply Follow Share 2 0 votes 0 votes Please log in or register to add a comment.
2 votes 2 votes As the Relative addressing mode is used, Memory location of operand = PC value + Address part of instruction. PC value = (Y+1) or (W+2) API=M[Y] or M[W+1] So, the answer is option D. pranavtri answered Jul 9, 2018 pranavtri comment Share Follow See all 0 reply Please log in or register to add a comment.