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

Gauss, research paper on gauss,s law?

research paper on gauss,s law?

Why memory decoding is required, Why memory decoding is required? To a...

Why memory decoding is required? To attach a memory device to the microprocessor, this is necessary to decode the address sent by the microprocessor. Decoding creates the memo

Find the voltage gain, Q. In a CD amplifier,given Rs =4k?, µ=50 and rd= 35k...

Q. In a CD amplifier,given Rs =4k?, µ=50 and rd= 35k μ. Find the voltage gain Av. The voltage gain,  A v = Vo / V i = µR s / (µ+1) R s + rd = 50*4* (103 )/ (50+1)*4*103

Sign flag - sub subtract instruction , Sign flag Since D 7  bit in ...

Sign flag Since D 7  bit in the  results is 0sign flag is reset. This also  shown that the results is positive.

Efficiency Equations for AC Generators., Most ac generators used in Power S...

Most ac generators used in Power Stations are of the " Flux Cutting " types. Their effiencies range from less than 33% to slightly more than 60%. In their efficiency equations, the

Commercial fm radio broadcasting, Q. Commercial FM radio broadcasting? ...

Q. Commercial FM radio broadcasting? Commercial FM radio broadcasting utilizes the frequency band of 88 to 108 MHz for the transmission ofmusic and voice signals. The carrier

Describe the phasor equations, Q. Describe the following phasor equations r...

Q. Describe the following phasor equations represented in the time domain: (a) ¯ E = K1e-¯ γz (b) ¯ E = K2e ¯ γz where z is the space coordinate, K1 and K2 are constants,

Calculate the new rotor current frequency, Induction motors are often brake...

Induction motors are often braked rapidly by a technique known as plugging, which is the reversal of the phase sequence of the voltage supplying the motor. Assume that a motor with

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