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

Internalization of KPI Process, Internalization of KPI Process It is t...

Internalization of KPI Process It is the responsibility of management to ensure in which the focus of all the participants in performance management and KPI exercise is there

Unconditional call instruction - call instruction , Unconditional Call Inst...

Unconditional Call Instruction CALL ( Unconditional Call) Instructions :This  instruction calls the subroutine program stored at memory  location specified  in the  instruction

Gauss, research paper on gauss,s law?

research paper on gauss,s law?

Speed control of dc motor using pid, The objective of the project is to pro...

The objective of the project is to protect damage of the DC motors. If the motor is not working it will be shown with red light, if working normally then green and if working at a

Sketch the waveform of the circuit , The following four output displays of ...

The following four output displays of an oscilloscope (right hand side, below) show waveforms of a biased diode ac circuit. An example is illustrated on the left hand side. VIN is

Find the corresponding energy, Q. Consider a pair of coupled coils as shown...

Q. Consider a pair of coupled coils as shown in Figure of the text, with currents, voltages, and polarity dots as indicated. Show that the mutual inductance is L 12 = L 21 = M by

Find the flux density in the air gap of the right leg, Q. In the magnetic c...

Q. In the magnetic circuit shown in Figure the center leg has the same cross-sectional area as each of the outer legs. The coil has 400 turns. The permeability of iron may

Find the voltage across the 50-resistor, Q. Write and execute a PSpice prog...

Q. Write and execute a PSpice programto analyze the resistor bridge circuit shown in Figure to solve for the node voltages and the voltage-source current. Then find the voltage acr

Square wave generator ( 10 MHz to 20MHz), I need a simple design of above ...

I need a simple design of above mentioned , this oscillator will be used in a wireless power transmission

Difference between cmp and sub instructions, Mention how do the following i...

Mention how do the following instructions differ in their functionality SUB: It performs changes the destination operand and the subtraction operation. CMP: Comparison instr

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