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

Explain the effect of magnetic field on superconductors, Explain supercondu...

Explain superconductivity and explain the effect of magnetic field on superconductors. Various metals become superconducting below a temperature that is the characteristic of t

Explain protected mode addressing, Explain protected mode addressing. ...

Explain protected mode addressing. This addressing permits access to data and programs located as the first 1M byte of memory, with in the first 1M byte of memory. Addressing

Electonic principles, can you help with my electronic principle assignment

can you help with my electronic principle assignment

Fraction of the total cross section - interaction processes, Determine and ...

Determine and plot for 5 keV to 100 MeV the fraction of the total cross section due to each of the four interaction processes for      (a) hydrogen,      (b) nitrogen,

Explain antiferromagnetism magnetic materials, Explain Antiferromagnetism m...

Explain Antiferromagnetism magnetic materials. Antiferromagnetism : Magnetic dipoles are aligned anti-parallel to each other. Antiferromagnetic type materials are not as famil

., speed control of single phase ac motors

speed control of single phase ac motors

Field effect transistor, Field effect transistor: Primarily difference...

Field effect transistor: Primarily difference between bit and jet is that bit transistor is a current controlled device while jet is a voltage controlled device.  Is a direct

What is independent bus request scheme, What is independent bus request sch...

What is independent bus request scheme? Each of the master's needs a pair of request and grant pins which are connected to the controlling logic. The busy line is common for al

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