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

Give examples for maskable interrupts?

1110


What is the purpose of segment register?

931


What type of architecture is used in 8085 microprocessor?

894


What all does a microprocessor comprise of?

1105


The address capability of 8085 is 64 kb.explain?

1978


Introduction of 8051 microcontroller architecture?

1032


What is the purpose of data moving instructions? Name any two such instructions?

1045


Define the types of bus used in the 8085?

1012


What are the different types of assemblers used?

1113


Can you tell how many pins are there in 8085 Microprocessor?

992


What are the widths of data bus (db) and address bus (ab) of 8085?

1054


What does a microprocessor mean? What all does a microprocessor comprise of?

1061


explain about externally initiated operations

1058


In 8085 name the 16 bit registers?

1351


Give example of bit address and byte address?

1103