1. Home >
  2. Apps >
  3. Groups >

Instruction Pointer & Program Counter

Question asked by Whats In Name in #Coffee Room on Aug 23, 2010
Whats In Name
Whats In Name · Aug 23, 2010
Rank B3 - LEADER
:arrow:Whats the difference between instruction pointer and program counter:?: Posted in: #Coffee Room
Manish Goyal
Manish Goyal · Aug 23, 2010
Rank A2 - PRO
program counter and instruction pointer both are same

it holds address of instruction currently being executed
sushant005
sushant005 · Aug 23, 2010
Rank C1 - EXPERT
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
Rank C1 - EXPERT
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
Rank E1 - BEGINNER
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
Rank B3 - LEADER
@all

Thanks for the reply😀

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up