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
Apply the rule-of-thumb dc design presented in this section for a silicon npn BJT with β = 70 when the operating Q point is defined by I CQ = 15 mA and I BQ = 0.3 mA, with a dc s


State and prove parallelogram law of forces and explain it''s applications

Equivalent Circuit of a DC Machine A review of the material presented with regard to elementary direct-current machines can be helpful at this stage to recall the principles of

a digital computer controlled rolling mill regulator system..

Q. Differential amplifier to eliminate the common-mode voltage? The transducer in some cases may have a local ground that cannot be disconnected. In such a case, a separate gro

You will design a significant project on the DE1 board. In some cases you may want to use the breadboard as well - note that all of the pins at the bottom of the breadboard are lab

Q. Illustrate the principles of operation of centralized SPC and distributed SPC and compare their performance. Ans: In centralized control, all control equipment is replac

PN Diode The current-voltage characteristics are of major concern in the learning of semiconductor devices with light entering like a third variable in optoelectronics devic

Q. For the 4-bit D/A converter of Figure with V ref =-5 V, determine the range of analog output voltage and the smallest increment. Ans. The binary input range is from 0