Difference Between Register and Memory

MemoryComputersHardware

In this post, we will understand the difference between Register and Memory −

Register

  • They hold operands or instructions that CPU would be currently processing.

  • They contain small amounts of data- 32-bits to 64-bits.

  • CPU can operate on the contents of the register at the rate of more than one operation during one clock cycle.

  • There are many types of registers: Accumulator register, Program counter, Instruction register, Address register.

  • They can be controlled, i.e. information can be stored and retrieved from them.

  • It is quick in comparison to memory.

Memory

  • It holds instructions and the data about the currently executing program required by the CPU.

  • The memory can range from some GB (giga bytes) to TB (tera bytes).

  • The CPU accesses memory at a slower rate in comparison to memory access in a register.

  • There are different types of memory: RAM, ROM.

  • The memory can’t be controlled.

  • RAM is slow in comparison to registers.

raja
Published on 19-Apr-2021 06:04:30
Advertisements