in GATE retagged by
418 views
2 votes
2 votes
The register $’V’$ contains the value $’500’$. The index register contains the value $’100’$.

The address field value of an indexed addressing mode instruction to make it same as a register indirect mode instruction is ___________.
in GATE retagged by
by
418 views

2 Comments

Sir, why is  600 (500+100) wrong ?
1
1
@harsh

please check my answer, hope it will be clear to you.
1
1

1 Answer

9 votes
9 votes
Best answer
In indexed addressing mode
Effective address = address + contents of specified index register

In register indirect mode

Effective PC address = contents of register 'V'

Now , the address field value of an indexed addressing mode instruction to make it  same as a register indirect mode instruction , we need to do is :

contents of register ' V ' = address + contents of index register

address = contents of register ' V ' - contents of index register

= 500-100

= 400 

1 comment

very well explained sir!!!
0
0
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

64.3k questions

77.9k answers

244k comments

80.0k users