Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a program counter? What is its use?

Answers were Sorted based on User's Feedback



What is a program counter? What is its use?..

Answer / saptadip

It is a 16 bit special function register in the 8085
microprocessor.It keeps track of the the next memory
adderess of the instruction that is to be executed once the
execution of the current instruction is completed.In other
words, it holds the address of the memory location of the
next instruction when the current instruction is executed by
the microprocessor.

Is This Answer Correct ?    388 Yes 33 No

What is a program counter? What is its use?..

Answer / vinay m k

PC [program counter] is a register holding the address of
the instruction which needs to be executed next. Its used
to keep track of current execution point - this tracking is
necessary for various reasons and some of these reasons are:
1. While branching or looping destination address is
specified with respect to the current PC value.
2. While branching to a function call current Pc value is
pushed into the stack and retrieved back when retrunign
from the function-call.
3. PC value is strored when servicing an interrupt and
restored back after execution of ISR.
http://www.vinaymk.com/tutorials

Is This Answer Correct ?    132 Yes 37 No

What is a program counter? What is its use?..

Answer / as talwar

Program counter is a sixteen bit register which holds the
address of the next instruction to b executed. Program
counter is required bec

1. It speeds up the execution of a task.
2. the detination address where answer is to be stored is
with reference to the current address in PC.

Is This Answer Correct ?    83 Yes 34 No

What is a program counter? What is its use?..

Answer / arvind

Program counter hold the address of either the first byte of
the next instruction to be fetched for execution or the
address of the next by byte of instruction. Which has been
completely fetched. In both the cases it gets incremented
automatically one by one as the instruction byte get
fetched. Also program register keeps the address of next
instruction.

Is This Answer Correct ?    16 Yes 3 No

What is a program counter? What is its use?..

Answer / amita

The program counter, or PC (also called the instruction pointer[1], or instruction address register[2], or just part of the instruction sequencer[3] in some computers) is a processor register that indicates where the computer is in its instruction sequence. Depending on the details of the particular computer, the PC holds either the address of the instruction being executed, or the address of the next instruction to be executed.
In most processors, the instruction pointer is incremented automatically after fetching a program instruction, so that instructions are normally retrieved sequentially from memory, with certain instructions, such as branches, jumps and subroutine calls and returns, interrupting the sequence by placing a new value in the program counter.
Such jump instructions allow a new address to be chosen as the start of the next part of the flow of instructions from the memory. They allow new values to be loaded (written) into the program counter register. A subroutine call is achieved simply by reading the old contents of the program counter, before they are overwritten by a new value, and saving them somewhere in memory or in another register. A subroutine return is then achieved by writing the saved value back in to the program counter again.

Is This Answer Correct ?    29 Yes 22 No

What is a program counter? What is its use?..

Answer / sunitha

program counter is a 16 bit register of 8085 archiecture.It fetch the address of the next instruction.it is a tempory register

Is This Answer Correct ?    9 Yes 2 No

What is a program counter? What is its use?..

Answer / naveen

As Anup asked, My doubt is suppose your code reside in the
memory location 9AB0 H. You initially switched on the micro
processor, Now what is the value in PC? Is it 0000H if not
what is that address? And why that address? how to load the
address where I wrote the code?
2) If during the execution of the Code we gave a Reset to
8085 where does the execution Jumps to? Does the program
return back to its normal execution after reset?

Is This Answer Correct ?    8 Yes 3 No

What is a program counter? What is its use?..

Answer / anup

who loads the program counter? an HOW?

Is This Answer Correct ?    21 Yes 40 No

What is a program counter? What is its use?..

Answer / anup

how is the address of first instruction got to Program Counter

Is This Answer Correct ?    17 Yes 45 No

Post New Answer

More 86 Family Interview Questions

Which is the stack used in 8085?

0 Answers  


Explain the functions of the two dma signals hold and hlda?

0 Answers  


What is the maximum clock frequency used by the 8085 microprocessor?

0 Answers  


What is the immediate addressing mode?

13 Answers  


List some 8051 microcontroller applications in embedded systems ?

0 Answers  


How can the signals of the 8086 be categorised?

0 Answers  


Which interrupt has highest priority in microcontroller ?

0 Answers  


What is the the total addressable memory size in a 8085 microprocessor?

0 Answers  


What is coprocessor?

0 Answers  


What number of the times the instruction sequence below will loop before coming out of loop is MOV AL, 00hA1: INC AL JNZ A1

0 Answers   CDAC,


write an assembly code which can call function in a loop with al value from 0 to 9

5 Answers   Google,


What is general purpose registers in 8086?

0 Answers  


Categories