Registers class Null safety

A representation of the available memory as registers. "Available memory" is what's left over of the 406 nybble data store after the program's storage is deducted.

Constructors

Registers(Memory<ProgramOperation> _memory)

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
helper68 → NumStatus68
final
index ↔ Value
read / write
indirectIndex ↔ Value
read / write
nybblesPerRegister → int
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

clear() → void
incrementI(int by) → Value
Gives value after increment
isZeroI(Value v) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
resetI() → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](int i) → Value
operator []=(int i, Value v) → void