Instruction Pointer & Program Counter

Whats In Name

Whats In Name

@whats-in-name-KdgM7o Oct 26, 2024
:arrow:Whats the difference between instruction pointer and program counter:?:

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Aug 22, 2010

    program counter and instruction pointer both are same

    it holds address of instruction currently being executed
  • sushant005

    sushant005

    @sushant005-tyt4WK Aug 22, 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

    @sushant005-tyt4WK Aug 22, 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

    @ankit-rawat-6hLPV8 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

    @whats-in-name-KdgM7o Aug 25, 2010

    @all

    Thanks for the reply😀