Simple Machine

ISA
Class Datum

java.lang.Object
  extended by ISA.MemoryCell
      extended by ISA.Datum

public class Datum
extends MemoryCell

A single concrete instance of data in memory.


Field Summary
 
Fields inherited from class ISA.MemoryCell
address, checkpointValue, comment, label, memory, value
 
Method Summary
 void copyFrom(MemoryCell aCell)
           
static Datum valueOf(Memory memory, int address, int value, java.lang.String label, java.lang.String comment)
           
static Datum valueOfMemory(Memory memory, int address, int length, java.lang.String label, java.lang.String comment)
           
 
Methods inherited from class ISA.MemoryCell
checkpointValue, equals, getAddress, hashCode, length, restoreValueFromCheckpoint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

valueOfMemory

public static Datum valueOfMemory(Memory memory,
                                  int address,
                                  int length,
                                  java.lang.String label,
                                  java.lang.String comment)

valueOf

public static Datum valueOf(Memory memory,
                            int address,
                            int value,
                            java.lang.String label,
                            java.lang.String comment)

copyFrom

public void copyFrom(MemoryCell aCell)
Overrides:
copyFrom in class MemoryCell

Simple Machine