Program counter , Electrical Engineering

Program Counter (PC)

It is a   16 bit  register.  It is a memory  pointer. It stores  the memory address  of the next  byte of the program to be executed. Memory  address is of 16  bits. Suppose a program  is stored in the memory  starting  from address 2000H ( 0010  000  0000  0000)  see fig  to execute this  program  starting  address is copied  in program counter (PC)  register. When the  program starts executing microprocessor provides  the memory  address from  program  counter.  The  first  statement  is accessed   at that location and is brought into the  microprocessor and  executed. While first statement . after executing  first  statement  microprocessor  get the  address of the  second  statement  from the program  counter.  Similarly  second statement  is also  executed  and program  counter is  incremented  by 1 and  points to the next  statement. The processor is repeated until   the program  is over.

Since  this register  points to the  memory  address of the program and keeps  incrementing by  one like a counter hence the name  given to it  is program counter.

Posted Date: 4/4/2013 2:58:03 AM | Location : United States







Related Discussions:- Program counter , Assignment Help, Ask Question on Program counter , Get Answer, Expert's Help, Program counter Discussions

Write discussion on Program counter
Your posts are moderated
Related Questions
draw the gain frequency response of an RC coupled circuit? discuss fall in gain at very low and very high frequencies?

GIS APPLICATION IN THE POWER DISTRIBUTION ENVIRONMENT Previously, we have discussed the IT applications in the areas of Metering, Data Acquisition and Management, Asset Manage

Avalanche breakdown region: Even though these regions are well described for sufficiently large applied voltage, they overlap somewhat for small (less than a few hundred milli

Look at figure below and use.  Water (50°F) flows at 250 gpm through the pipe system at the bottom of this page. All piping is four inch (4") diameter cast iron. The distance betwe

Q. Explain Charge-to-Charge Amplifier A circuit is shown in Figure in which there is a capacitor C1 in the - input line and a capacitor Cf in the feedback loop. KCL at node X g

Q. Find the currents I x using current division and equivalent resistor reductions for the networks given in Figure.

Operation of MOSFET The operation of a metal-oxide-semiconductor field-effect transistor which is abbreviated as MOSFET can be separated into three modes, depending upon the

Histograms or Bar Chart - Quality Tools for Improvement Histograms give an easy, graphical view of accumulated data. It provides the simplest way to evaluate the distributio

i need help solving an electrical circuit, using kirchoffs laws, it a diamond shape with one voltage source

INS  Increment Register Pair Instruction Contents of the registers pair R P will be  incremented by one  and the  result  will be stored  in the  same  register pair. It is