Memory-Memory Data Access


Description

In a memory-memory architecture, all instruction operands can be in memory. This makes the memory-memory architecture ideal for the CISC philosophy. Memory-memory architectures also have registers, which are used either for addressing memory or for faster access to data values.

The standard three operand arithmetic or logical instruction has variable length, depending on how many operands are in registers and how many are in memory. Many memory-memory architectures also provided one and two operand forms of some arithmetic instructions in order to conserve code space.

Code Example

HLL Code

    A = B*(C + D)

AL Code

Instruction Code Size Data
add R, C, D 6 (1 + 1/2 + 2 + 2) 8 (4 + 4)
mul A, B, R 6 (1 + 2 + 2 + 1/2) 8 (4 + 4)
Total 12 16


Page URL: http://www.d.umn.edu/~gshute/arch/memory-memory.html
Page Author: Gary Shute
Last Modified: Saturday, 24-Mar-2012 10:12:19 CDT
Comments to: gshute@d.umn.edu