GATE Exam  >  GATE Questions  >  An instruction is stored at location 300 with... Start Learning for Free
An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?
  • a)
    Indexed
  • b)
    Indirect
  • c)
    Relative
  • d)
    Register Indirect
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
An instruction is stored at location 300 with its address field at loc...
Relative: 302 + 400 = 702
View all questions of this test
Most Upvoted Answer
An instruction is stored at location 300 with its address field at loc...
Explanation:

Addressing modes refer to the way in which the operand of an instruction is specified. In this question, we are given an instruction stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. We need to determine the addressing mode of the effective address of the instruction is 702.

Addressing modes:

1. Indexed addressing mode: In indexed addressing mode, the operand is obtained by adding the contents of a register to the address field of the instruction. However, in this question, we are not given any register to be added to the address field. Hence, option A is incorrect.

2. Indirect addressing mode: In indirect addressing mode, the operand is obtained by using the value in the address field as a pointer to the actual operand. However, in this question, the address field contains the actual address of the operand. Hence, option B is incorrect.

3. Relative addressing mode: In relative addressing mode, the operand is obtained by adding the value in the address field to the current value of the program counter (PC). However, in this question, we are not given the value of the PC. Hence, option D is incorrect.

4. Register indirect addressing mode: In register indirect addressing mode, the operand is obtained by using the value in a register as a pointer to the actual operand. In this question, register R1 contains the value 200. Hence, the effective address of the instruction is obtained by adding the value in register R1 to the value in the address field.

Effective address = 400 + 200 = 600

However, the effective address of the instruction given in the question is 702. Hence, the addressing mode of the instruction cannot be register indirect.

5. Relative indexed addressing mode: In relative indexed addressing mode, the operand is obtained by adding the value in the address field to the current value of the program counter (PC) and the contents of a register. In this question, we are not given the value of the PC. However, if we assume that the PC contains the value 102, then the effective address of the instruction would be:

Effective address = 400 + 200 + 102 = 702

Hence, the addressing mode of the instruction is relative indexed.
Explore Courses for GATE exam

Similar GATE Doubts

An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer?
Question Description
An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer?.
Solutions for An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. What will be the addressing mode of the effective address of the instruction is 702?a)Indexedb)Indirectc)Relatived)Register IndirectCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev