contador javascript Skip to content
Contact :

Difference between register and memory

Registration and memory, keep the data that you can access directly the processor what which also increases the processing speed of the CPU. The processing speed of the CPU can also be increased by increasing the number of bits in the register or by increasing the number of the physical register in the CPU. Same is the case with memory, plus the fastest amount of memory is the CPU. Memory is generally referred to the primary memory of the computer.

Despite these similarities, registration and memory share few differences between them. The basic difference between registration and memory is that the registry it contains the data that the CPU is currently processing, while the memory It contains the instructions and data of the program that the program requires for its execution.

We will discuss some more differences between registration and memory with the help of the comparison chart shown below.

Comparative graph

Basis for comparison Registration Memory
BASIC The records contain the operands or instructions that the CPU is currently processing. The memory contains the instructions and data required by the program currently running on the CPU.
Capacity The register saves the small amount of data from around 32 bits to 64 bits. The computer memory can range from a few GB to TB.
Access The CPU can operate in the register contents at the speed of more than one operation in a clock cycle. The CPU accesses the memory at a slower rate than the registry.
Type Accumulator register, program counter, instruction register, address register, etc. RAM.

Registration Definition

Records are the data retention elements smaller what are integrated into The processor itself. Logs are the memory locations that the processor can access directly . The records contain the instruction or operands currently accessed by the CPU.

Logs are the accessible storage items of high speed . The processor accesses the records within a CPU clock cycle . In fact, the processor can decode the instructions and perform operations on the contents of the registry at the speed of more than one operation per CPU clock cycle. Then we can say that the processor can access the records faster than the main memory.

The register is measured in bits, as a processor can have 16-bit, 32-bit or 64-bit registers. The number of register bits specifies the speed and power of the CPU. For example, a CPU that has a 32-bit register can access 32-bit instructions at the same time. The CPU that has a 64-bit register can execute 64-bit instructions. Therefore, more the number of register bits ms is the speed and power of the CPU.

The computer records are classified as follows:

DR: Data register it is a 16-bit register that contains the operands The processor must operate.

AR: Address Register it is a 12-bit register that contains the address of a memory location .

AC: The accumulator It is also a 16-bit register that contains the calculated result by the processor.