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

Calculate the speed of motor when armature current is 25 a, Q. The magnetiz...

Q. The magnetization curve taken at 1000 r/min on a 200-V dc series motor has the following data: Field current, A: 5 10 15 20 25 30 Voltage, A: 80 160 202 222 236 244 Th

Embedded system, comment instruction for LIST p=18f4550

comment instruction for LIST p=18f4550

3-phase 3 wire meter, 3-Phase 3 Wire Meter A 3-phase 3 wire meter has ...

3-Phase 3 Wire Meter A 3-phase 3 wire meter has 2 elements of each category on the other hand of 3 elements as in the case of 3-phase 4 wire meter. The primary principle of op

Explain about folded network, Q. Explain about Folded network? Folded ...

Q. Explain about Folded network? Folded network: When all the outlets/inlets are connected to the subscriber lines, logical connection appears as displayed in figure. In this

Energy band diagram, Sketch the Fermi-Dirac distribution function, F(E), al...

Sketch the Fermi-Dirac distribution function, F(E), alongside the energy band diagram for an n-type semiconductor, indicating the position of the Fermi level, EF, and the donor lev

TRANSFORMER, what are the characteristics of transformer?

what are the characteristics of transformer?

Microcontroller, What are usue and all the details of 8051 microcontroller ...

What are usue and all the details of 8051 microcontroller with its block diagram pin diagram and all other details

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