Module mref

Module mref 

Source
Expand description

The mref module exists to hide the internals of MemoryWriteRef and MemoryReadRef.

We cannot simply use &mut MemoryWord because the arithmetic element’s registers A-E share a metabit (the metabit of the M register).

Structs§

MemoryReadRef 🔒
MemoryReadRef logically represents a memory location (register) which we can read.
MemoryWriteRef 🔒
MemoryWriteRef logically represents a memory location (register) which we can write to or read from.

Traits§

MemoryRead 🔒