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
If the message has a spectrum where K and Wf are positive constants, sketch the spectrum of a standard AM signal that uses the message. Comment on the physical signi?cance

a. Explain Choke packet. Describe implicit Congestion Signalling and explicit Congestion Signalling in Congestion control. b. State routing parameters in packet switching networ

Q. What are the different types of distributing frames used in exchanges? Ans: Different distribution  frames  used  in  exchange  are  displayed in  figure.  Each subscribe

ELEC 132 COURSEWORK – ADC This work will be assessed based on program demonstration (during lab sessions) and design. You will also have to submit your c-source codes as word o

What are the differences between Colour Graphics Adapter and Video Graphics Array graphics adapters? The Colour Graphics Adapter (CGA), originally also termed as the Colour/G

Semiconductor Devices: We have studied semiconductor devices. Firstly, we understand what semiconductors in terms of energy band diagrams are. Then we understand what is dopin

Q. Several forms of interference? Interference may take several forms: ac hum, higher frequency pulses and "whistles," or erratic waveforms commonly known as static. Interferin

what is difference between dual trace and dual beam cro?

Q. What do you mean by addressing and numbering? Numbering and Addressing: In data and telephone networks, end equipment are more often single units than multiple devices uni

Methods of Testing Irrespective of reasons, testing is commonly carried out 1. On site, or 2. In a Meter Testing Station (MTS) accredited as per IS/ISO/IEC 17025.