answersLogoWhite

0

Function of counter register

Updated: 11/6/2022
User Avatar

Wiki User

11y ago

Best Answer

Count either number of occurrences of a certain event or ticks of a clock signal.

  • count decay events of a radioisotope sample
  • count floors passed by an elevator; note: this counter needs to be able to count both up & down
  • count persons passing through a gate/turnstile
  • count seconds, minutes, and hours to record current time
  • count pages printed by a printer
  • count instructions executed in a computer program; maybe needed in some timesharing OSs to compute machine usage for billing of users
  • count bytes/words of memory fetched for instructions; this is also called a program counter or instruction counter and keeps track of the next location to fetch from in memory
  • count ink drops used in a printer cartridge to estimate how much ink is left
  • count distance a vehicle travels, also called an odometer
  • etc. etc.

Some counters are loadable with arbitrary values some are not. Most but not all counters can be reset to zero.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Function of counter register
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the function of the program counter register?

The function of the program counter register is to hold the address of the instruction that is being executed and (later) to hold the address of the instruction that will be executed next.


5 What it is the basic difference between a register and a counter?

register has the same clock. counter do not need to have the same clock.


Definition or function of CX register?

The CX register is a 16-bit register in the x86 architecture that is primarily used for counting operations, particularly in string manipulation and looping functions. It is part of the general-purpose registers in the CPU and can store values ranging from 0 to 65,535.


What is the function of program counter?

program counter is a register that has the address of next instruction that has to be executed after currently executing instruction. it is used for proper execution of functions of computer by providing address of next instruction to microprocessor.


Difference between a counter and a register?

A register can hold data, and it can be used for temporary storage or, in the case of an accumulator, it can participate in arithmetic or logical operations. A counter is a special case of a register. Usually, it can only be loaded, stored, or incremented, or used for the stack or as the program counter.


What are different types of registers in a basic computer?

computer has different registers each of which has different functions. ax - accumulator register bx - base register cx - counter register computer has different registers each of which has different functions. ax - accumulator register bx - base register cx - counter register


How do you register a mosque in Pakistan?

buy him at the counter


Can the program counter be one of the general purpose register?

No.


What dedicated operations are assigned to the CX register?

as a counter


What is a Johnson Counter?

Johnson counter is a ring counter, which is a type of counter composed of a circular shift register. Johnson counter provides many shift registers and ring counters.


How many bits are needed for the program counter and the instruction register?

24 bits are needed for the program counter. Assuming the instructions are 32 bits, then 32 bits are needed for the instruction register.


Which CPU register holds address for memory?

The program counter (PC) and the stack pointer (SP).