Program counter , Electrical Engineering

Assignment Help:

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.


Related Discussions:- Program counter

Variation of energy bands with alloy composition, Variation of Energy Bands...

Variation of Energy Bands with Alloy Composition The  band  structures  of  III-V  ternary  and  quaternary  compounds  modifies  as  their composition is varied. There

Personal safety from power, Personal  safety Power supplies can be very...

Personal  safety Power supplies can be very dangerous. This is specifically true of high voltage circuits, but anything over 12 V must be treated as lethal potentially. A po

Successive-approximation analog to digital converter, Successive-approximat...

Successive-approximation analog to digital converter This converter, shown in Figure, also contains a D/A converter, but the binary counter is replaced by a successive-approxim

FRACTIONAL PID TUING USING GA FOR LOAD FREQUENCY CONTROL, Iam doing my proj...

Iam doing my project on LFC using tuned FOPID.I have considered a two area model..I need help regarding my project.i need help regarding implementation of GA MATLAB code for a two

Explain the phase shifting circuit, Q. Discuss the operation of a transisto...

Q. Discuss the operation of a transistorized phase shift oscillator with the help of a diagram? Explain the phase shifting circuit? An oscillator is a circuit which converts el

Combinational circuit, design a combinational ckt ,which detect whatever a ...

design a combinational ckt ,which detect whatever a no.(in binary) is divisable by 3 or 4

Magnet, Magnetic materials

Magnetic materials

Draw and explain colpitts oscillator, Q. Draw and explain Colpitts oscillat...

Q. Draw and explain Colpitts oscillator? Colpitt's oscillator is a superb circuit which is used widely in commercial signal generations of  frequency of 100 Mhz . It consists o

Dc motor control, how thyristor work in speed control??

how thyristor work in speed control??

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd