Wednesday 3 June 2020

UGC NET Computer Science December 2019 | Question 136

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 :

List IList II
a. Directi. 200
b. Register indirectii. 902
c. Index with R1 as the index registeriii. 400
d. Relativeiv. 600
  1. 1. (a)-(iii), (b)-(i), (c)-(iv), (d)-(ii)
  2. 2. (a)-(i), (b)-(ii)), (c)-(iii), (d)-(iv)
  3. 3. (a)-(iv), (b)-(ii), (c)-(iii), (d)-(i)
  4. 4. (a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)
Answer : 1. (a)-(iii), (b)-(i), (c)-(iv), (d)-(ii)

Explanation Question 136

Main Memory
Instruction 500OpcodeMode
Opcode500 501
502Next Instruction
R1200


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

PreviousNext
UGC NET CS December 2019 - Question 135UGC NET CS December 2019 - Question 137

No comments:

Post a Comment

UGC NET Computer Science December 2019 | Question 16

Question 16 In a certain coding language. 'AEIOU' is written as 'TNHDZ'. Using the same coding language. 'BFJPV' wil...

Popular Posts