public final class InstructionSave extends java.lang.Object implements Instruction
| Modifier and Type | Field and Description |
|---|---|
static Instruction |
INSTANCE |
static java.lang.String |
NAME |
| Constructor and Description |
|---|
InstructionSave() |
| Modifier and Type | Method and Description |
|---|---|
void |
step(Machine machine)
Update the instruction, when it is done it must increment the machine's
program counter itself.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonWriteCompleted, resetpublic static final java.lang.String NAME
public static final Instruction INSTANCE
public void step(Machine machine)
Instructionstep in interface Instructionmachine - the machine to run the instruction on.public java.lang.String toString()
toString in class java.lang.Object