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

Why do we use two ground pins in the pin diagram of 8086?

1317


What are the different types of arithmetic operations that can be performed by the 8085 microprocessor?

1211


What is the difference between isr & function call?

1135


Which are sixteen bit registers of 8085?

1040


What is address bus, data bus and control bus in microprocessor 8051 ?

1183


The interrupt response time is determined by?

1048


What is non-maskable interrupts?

1252


explain about externally initiated operations

1066


Explain jnc.?

1107


What are the major differences in short label and near label jump instructions?

1007


What are the interrupts of 8086?

1010


Given a circuit, draw its exact timing response?

3703


Give here your suggestion about microprocessor 8085 and 8086. These 2 processors used in old time. I want to know its program execution time, memory space?

952


What are the total number of input and output ports in 8085?

1183


Mention any one 32 bit microcontroller and explain the same.

958