CPU点滴

1. register memory architecture

One of the operands for ADD operation may be in memory, while the other is in a register. Examples are IBM 360 and Intel x86.

2. register plus memory architecture

Both operands for ADD operation may be in memory or in registers, or in combinations.

3. load/store architecture

Both operands for ADD operation must be in registers. In computer engineering a load/store architecture only allows memory to be accessed by load and store operations, and all values for an operation need to be loaded from memory and be present in registers. Following the operation, the result needs to be stored back to memory. For instance, in a load/store approach both operands for an ADD operation must be in registers. This differs from a register memory architecture in which one of the operands for the ADD operation may be in memory, while the other is in a register. RISC systems such as PowerPC, SPARC, ARM or MIPS use the load/store architecture.