-
Methods in lab06 that return Instruction
| Modifier and Type |
Method |
Description |
static Instruction |
Instruction.factory(int binInstr) |
Generate an InstructionXXX object from the parameters.
|
static Instruction |
Instruction.factory(int opcode,
int mode,
int argument) |
Generate an InstructionXXX object from the parameters.
|
static Instruction |
Instruction.factory(java.lang.String opName,
java.lang.String modeName,
int argument) |
Generate an InstructionXXX object from the parameters.
|
Methods in lab06 with parameters of type Instruction
| Modifier and Type |
Method |
Description |
boolean |
Program.add(Instruction e) |
Adds a new instruction to the program.
|