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

Describe what is rim and sim instructions, RIM is Read Interrupt Mask. Used...

RIM is Read Interrupt Mask. Used to ensure whether the interrupt is Masked or not.     SIM is Set Interrupt Mask. Used to mask the hardware interrupts.

Svd, svd calculation in matrix

svd calculation in matrix

Explain the construction of power transformer, Q. Explain, with the aid of ...

Q. Explain, with the aid of diagrams, the following in relation to the construction of power transformers. Include the advantages and disadvantages in your description. a) Core

risers, Risers: Riser Design : A riser or a feeder head is a passag...

Risers: Riser Design : A riser or a feeder head is a passage of sand made in the cope to permit the molten metal to rise above the highest point in the casting after the mou

Design the high-pass filter, Q. Design the high-pass filter shown in Figure...

Q. Design the high-pass filter shown in Figure (by determining C) to have a half-power frequency of 1 MHz.

Explain the drain characteristics of jfet with external bias, Q. Explain th...

Q. Explain the drain characteristics of JFET with external bias? It gives relation between Id and Vds for different values of Vgs.(which is called the running variable). The ab

Constant frequency system, Constant Frequency System In this  system c...

Constant Frequency System In this  system chopping period  T is kept constant but the  on time T om is varied. This  system is also referred to pulse with modulation or time

What is faithful amplification, What is faithful amplification. What are ba...

What is faithful amplification. What are basic condition for faithful amplification. Describe : (a) Peak Inverse voltage. (b) Maximum forward current. (c) Knee voltage

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