GATEverse
← GATE CSE 1988

Q9iii

NATMarks unknown

In the program scheme given below indicate the instructions containing any operand needing relocation for position independent behaviour. Justify your answer.

Y=10MOVX(R0),R1MOVX,R0MOV2(R0),R1MOVY(R0),R5 ⋅ ⋅ ⋅X:WORD0,0,0\begin{array}{llll} & Y = 10 & \\ & \text{MOV} & {X(R_0), R_{1}} \\ & \text{MOV} & {X, R_0} \\ & \text{MOV} & {2(R_0), R_{1}} \\ & \text{MOV} & {Y(R_0), R_{5}} \\ & \ \cdot & \\ & \ \cdot & \\ & \ \cdot & \\ X: & \text{WORD} & 0,0,0 \\ \end{array}
Sign in to save attempts.

Loading…