View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12933 Members
Join this group to post and comment.
Whats In Name
Whats In Name • Aug 23, 2010

Instruction Pointer & Program Counter

:arrow:Whats the difference between instruction pointer and program counter:?:
program counter and instruction pointer both are same

it holds address of instruction currently being executed
sushant005
sushant005 • Aug 23, 2010
ya program counter , instruction counter and location counter are same and it is a type of register which holds the location of current program being executed by holding its address and the contents of the program counter is transfered to the control unit basing on the MDR (Memory Data Register)instruction.

And the location counter transfer the control to the MAR(memory Address Register) , now it also contains the address of the current executed memory location and now MBR contains a copy of the content of memory which is specified by MAR(memory buffer register).
sushant005
sushant005 • Aug 23, 2010
ya program counter , instruction counter and location counter are same and it is a type of register which holds the location of current program being executed by holding its address and the contents of the program counter is transfered to the control unit basing on the MDR (Memory Data Register)instruction.

And the location counter transfer the control to the MAR(memory Address Register) , now it also contains the address of the current executed memory location and now MBR contains a copy of the content of memory which is specified by MAR(memory buffer register).
ankit_rawat
ankit_rawat • Aug 23, 2010
i think both r same.But program counter means register which holds the address of nxt instruction to be executed.
Whats In Name
Whats In Name • Aug 25, 2010
@all

Thanks for the reply😀

Share this content on your social channels -