ISA
Class Instruction
java.lang.Object
ISA.MemoryCell
ISA.Instruction
public class Instruction
- extends MemoryCell
A single concrete instance of an instruction in memory.
Method Summary |
void |
copyFrom(MemoryCell aCell)
|
static Instruction |
valueOf(Memory memory,
int address,
int opCode,
int[] operands,
java.lang.String label,
java.lang.String comment)
|
static Instruction |
valueOfMemory(Memory memory,
int address,
java.lang.String label,
java.lang.String comment)
|
static Instruction |
valueOfPlaceholder(Memory memory,
int address,
java.lang.String label,
java.lang.String comment)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
valueOfMemory
public static Instruction valueOfMemory(Memory memory,
int address,
java.lang.String label,
java.lang.String comment)
copyFrom
public void copyFrom(MemoryCell aCell)
- Overrides:
copyFrom
in class MemoryCell
valueOfPlaceholder
public static Instruction valueOfPlaceholder(Memory memory,
int address,
java.lang.String label,
java.lang.String comment)
valueOf
public static Instruction valueOf(Memory memory,
int address,
int opCode,
int[] operands,
java.lang.String label,
java.lang.String comment)