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
Write three m ?les to generate M ensemble members of length N, for the following three random processes: i) function v=rp1(M,N); a=0.02; b=5; Mc=ones(M,1)*b*sin((1:N)*p

determine & sketch convolution y(n) of signal X(n)=an , -3 0 , elsewhere H(n)=1 , 0 0 , elsewhere

State whether Lamis theorem is applicable for more than three coplanar concurrent forces?

transformer voltage induced in armatur of ac commentator machin in case tha field flux in sinosoidal?..

a) Provide pertinent summary of the basic principles behind ECG monitoring b) Using MATLAB, provide plots of the "clean" and "noisy" ECG signals. Investigate the spectral es

Questions: a) Give a brief description of the program counter and the data pointer, including their differences. b) Briefly describe what are Byte-Level logical operations

operation of induction motor

Q. Explain working of Ammeter? In order to measure the current through a wire or line of a circuit, an ammeter is connected in series with the line. A practical ammeter can usu

Q. Use of Computers in Power Systems? The control and stability of any electric power system is indeed extremely important, in particular when a system is expected to maintain

A 9.1V zener diode has a nominal voltage fall at a test current of 28mA. The internal resistance of the zener diode is 5 ohms. Find the voltage drop across the zener diode at zener