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

Field effect transistors, basic configuration of field effect transistors i...

basic configuration of field effect transistors in mplifiers

Subtract contents of memory and borrow from accumulator, Subtract Contents ...

Subtract Contents of Memory and Borrow from Accumulator The contents of the  memory  pointed  by the HL register  pair  and the borrow  flag are subtracted from the  contents

Fault analysis, The one line diagram of a simple three phase power system i...

The one line diagram of a simple three phase power system is shown in figure below. Each generator is represented by an emf behind the transient reactance. All impedances are expre

Supernode, how does creating a supernode helps solve the problems?

how does creating a supernode helps solve the problems?

Design 100 two-motion selectors, Design : Rather than 100 two-motion selec...

Design : Rather than 100 two-motion selectors as in the case of Design 3, let's consider only 24 two-motion selectors. In the case 24 simultaneous calls can be put through the swi

Emf produced by windings, Q. emf produced by windings? The time variati...

Q. emf produced by windings? The time variation of emf for a single conductor corresponds to the spatial variation of air-gap flux density. By suitable winding design, the harm

State the principle of working of transformer, a) State the principle of wo...

a) State the principle of working of transformer. b) A 230/110 V, single-phase transformer takes an input of 350 volt-amperes at no load while working at rated voltage. The core

Explain cascading of multiple pics 8259, Explain cascading of multiple PICS...

Explain cascading of multiple PICS 8259.  The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. It can be expanded to 64 interrupt requests by using one

Explain polling, What is meant by polling? In polling schemes, a set of...

What is meant by polling? In polling schemes, a set of address lines is driven by the controller to address every of the masters in sequence. When a bus request is received fro

Compute the current loss in the lines, Q. Consider a 240-V supply feeding a...

Q. Consider a 240-V supply feeding a resistive load of 10 kW through wires having a total resistance of R = 0.02 . For the same load, let a 120-V supply be used with a total wire

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