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 are the different type of registers used in 8085?

915


The Pentium microprocessor has how many execution unit?

1093


What is the bhe signal? Explain its significance?

1322


What is a stack pointer register?

961


In 8085, power and frequency can be checked by connecting the wire with which pins?

1139


What are the different types of memory addressing modes?

977


Explain with an example how parameters can be passed using registers.

1010


What was is the primary usage of a 8085 microprocessor?

999


What is function of ale in 8085 microprocessor?

1013


Mention the types of interrupts that 8085 supports?

967


explain the trap input for the 8085.

969


Which bit of the flag register is set when output overflows to the sign bit?

1143


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

948


write the assembly language programming to find the 2's complement for a string of 100 bytes

1081


How is the system clock calculated in the 8085?

1116