Program counter , Electrical Engineering

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.

Posted Date: 4/4/2013 2:58:03 AM | Location : United States







Related Discussions:- Program counter , Assignment Help, Ask Question on Program counter , Get Answer, Expert's Help, Program counter Discussions

Write discussion on Program counter
Your posts are moderated
Related Questions
how does a colpitts oscillator works an also explain the principle

Explain Dual Slope ADCs Dual slope ADCs make use of a capacitor connected to a reference voltage. The capacitor voltage begins at zero and is charged for a set time through the

Explain implicit data addressing mode (with examples) available in microprocessors. Implicit Mode: Does not exactly give an operand. Instruction implicitly gives the o

Find out Form factor and Peak factor: For the output of full wave rectifier, find out (a) RMS value, (b) Average value, (c) Form factor, and (d) Peak factor. S

Q. What are the different types of MOSFET transistors ? The metal-oxide semiconductor field-effect transistor (MOSFET) is a three-terminal active device which has many applicat

Define Gain and Phase Responses? Expressing H(e j? ) in polar form as:   H (e j? ) = G (?) e jφ(?) G(?) is the "gain" of the discrete-time system and  φ(?) is the "phas

Q. What do you mean by Instrument transformers? These are generally of two types, potential transformers (PTs) and current transformers (CTs). They are designed in such a way t

NPN: Figure: The symbol of an NPN Bipolar Junction Transistor. NPN is one of the two sorts of bipolar transistors, where the letters "N" (negative) and "P" (positi

Draw and explain the circuit of feedback amplifier

A voltage amplifier without feedback has a nominal gain of 500. The gain, however, varies in the range of 475 to 525 due to parameter variations. In order to reduce the per-unit ch