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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by the statement that 8085 is a 8 bit microprocessor?

1289


What is an interrupt service routine in microcontroller?

1123


What are the flags in 8086?

1176


Explain two ways of converting a two input nand gate to an inverter?

1230


Which is the stack used in 8085?

1127


With the help of an example explain how physical address is calculated?

1064


What type of memory is the stack?

1114


Mention the addressing modes of 8085?

1120


List out the features of 8051 microcontroller?

1287


what are the advantages of modular proramming techniques

1162


List some analog modulation techniques.

1130


Which interrupt has highest priority?

1164


Describe the non-vectored interrupt process?

1125


Explain the differences between the nmi and intr

1244


Classify interrupts on the basis of signals.

1140