Without reading the value of PC, How can we know that it fetch the next instruction?

Status
Not open for further replies.

Surender Reddy

Full Member level 2
Joined
Jan 28, 2012
Messages
129
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,298
Location
Bangalore, India
Activity points
2,186
Without reading the value of PC, How can we know that it fetch the next instruction?
It is One of my interview question with one MNC.
 

u can see this in diassembly window of ur IDE.

- - - Updated - - -

sorry, the above reply is wrong. the correct answer is using dptr u can chech the execution level of the code.dptr is a 16 bit register pointer as pc .thus by initialising the dptr pointer we can use it like pc
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…