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

Description of the program counter and the data pointer, Questions: a) ...

Questions: a) Give a brief description of the program counter and the data pointer, including their differences. b) Briefly describe what are Byte-Level logical operations

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

The input output system - stepper motor , The Input Output System The ...

The Input Output System The input output  system provides  the physical  connection between  the equipment  and the PLC there are many  different kinds  of I/O cards  which ser

State the principle of operation of a capacitor, a. Describe why a three-ph...

a. Describe why a three-phase induction motor rotates always with a speed less than the synchronous speed. b. State the principle of operation of a capacitor start single-phase

Compute the transfer function from the input, In this project we will consi...

In this project we will consider the control of a synchronous generator supplying electricity to the grid. We will focus on the problem of frequency stability. The frequency at whi

Microprocessor, if (n n=n+1 else n=n-1 n=0 how to write this command

if (n n=n+1 else n=n-1 n=0 how to write this command

Transistor, what is bias compensation

what is bias compensation

How is energy stored in a capacitor, Energy stored in a capacitor Durin...

Energy stored in a capacitor During charging process by capacitor, it will get energy. Energy is stored in static form. The voltage in capacitor will enhance from 0 volt to E v

Explain factors affecting permeability and hysterisis loss, Explain the fac...

Explain the factors affecting permeability and hysterisis loss. Factors affecting permeability and hysterisis loss: When the initial permeability is high, the hysterisis los

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