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

Design a 4-bit universal shift register, Q. Obtain a block diagram of a shi...

Q. Obtain a block diagram of a shift-left/right register using D flip-flops. Q. Design a 4-bit universal shift register. Q. (a) Show a block diagram of an SRFF connected to s

Explain indirect data addressing mode, Explain indirect data addressing mod...

Explain indirect data addressing mode (with examples) available in microprocessors. Indirect Mode: Address given in instruction includes address where the operand resi

Determine l and c of the band reject filter circuit, Q. Determine L and C o...

Q. Determine L and C of the band reject filter circuit of Figure to have a center frequency of 100 kHz and a bandwidth of 5 kHz. Also find the Q of the filter.

Role of stakeholders in distribution reform, Role of StakeHolders in Distri...

Role of StakeHolders in Distribution Reform These challenges could be met only by comprehensive reforms in the distribution sector. Earlier, you have studied about the roles o

Dc charging and discharging circuit, The circuit shown below is a DC chargi...

The circuit shown below is a DC charging and discharging circuit. a.  At t = 0 sec, switch S1 is thrown to position 1 ("pos1"). Write the mathematical expressions for and .

Public and extrn assembler directive, What do you understand by PUBLIC ...

What do you understand by PUBLIC assembler directive?   The PUBLIC and EXTRN directives are very significant to modular programming. PUBLIC used to state that labels of

What is digital system components, Q. What is Digital system components? ...

Q. What is Digital system components? The reason that digital systems are so inexpensive and yet so powerful is that they consist of very  large numbers of just a few building

Discrete time system transfer function, For a discrete time unit step input...

For a discrete time unit step input x(kT), the output  y(kT) of a system is shown below,   Part (a)  Obtain the Z-transform of the output signal y(kT).   Part (b)   F

Synchronization, Synchronization:  Whatever type of weep is used, it must ...

Synchronization:  Whatever type of weep is used, it must be synchronized with the signal being measured. Synchronization has to be done to obtain a stationary pattern. This requir

Explain the suitability of aluminium, Explain the suitability of aluminium ...

Explain the suitability of aluminium  that is used as electrical conducting materials. Aluminium : Conductors are appropriate for ambient and very high temperature. Use of alu

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