Difference between Register vs Memory
Register | Memory |
It holds small amount of data | It holds large amount of data |
It holds the operands or instruction that CPU is currently processing | It holds the instructions and the data that the currently executing program in CPU requires |
CPU accesses register faster | Slower |
Example: accumulator register, program counter | Example: RAM |