retagged by
2,504 views
1 votes
1 votes

I am watching IIT Madras lecture of Addressing mode, in that Prof take an example, in which we have a register r0 = 1000

Link:- https://www.youtube.com/watch?v=p9wxyIx-j-c&index=12&list=PLQObLunIEgaQ7Drxp8yCmsJqidgSsTqlw

Time :- 05:10

Content of Memory location 1000 = 1010

Content of Memory location 1010 = DATA

According to his definition, he described 3 addressing modes 

Register mode: Data is present in the register. 

Register Direct mode : In this the ADDRESS OF THE DATA IS DIRECTLY PRESENT IN THE REGISTER.

Register Indirect mode/ Register Deferred mode: In this register contain the address 1000, and the content of M[1000] is 1010 which is also a address, content of m[1010] is ACTUAL DATA.

Which means in

Register mode to get the data 1 Reg Ref is required.

Register Direct mode to get the data 1 Reg Ref and 1 Mem ref is required.

Register Indirect Mode to get the data 1 Reg Ref and 2 Mem ref is required.

But In CARL HAMACHER:-

Register Indirect is defined through this diagram:-

while according to IIT Madras Prof it should be Register DIrect mode.

which one among these are true or something I am missing.

retagged by

1 Answer

0 votes
0 votes

whatever that teacher said in the lecture is not correct. find the following definition from Moris Mano's book

Instruction contains the register name and the reguster contains the address of operand. 

Related questions

2 votes
2 votes
1 answer
1
set2018 asked Jul 17, 2017
1,418 views
Self reallocating code required for displacement addressing mode.How ?Please someone explain this concept.
7 votes
7 votes
2 answers
2
Rakesh K asked Oct 30, 2016
2,396 views
What is the number of instrunctions needed to add n numbers in one address mode and store the result in the memory, assuming each number is already loaded in register?(A)...
2 votes
2 votes
1 answer
3
Rishabh Gupta 2 asked Nov 5, 2017
1,666 views
computer uses addressing modes to reduce the number of bits in the addressing field of the instructionCan someone please explain how this statement is true? PLEASEExample...