| Package | Description |
|---|---|
| redHandling |
The redHandling package with its main class RedFileManager was
created to parse and transfer RedCode files or strings into a
data structure for latter computation.
|
| Modifier and Type | Method and Description |
|---|---|
protected InstructionCode |
RedCodeLineParser.getInstr()
Gets InstructionCode ENUM of parsed line.
|
InstructionCode |
Instruction.getInstructionCode()
Gets InstructionCode ENUM.
|
static InstructionCode |
InstructionCode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstructionCode[] |
InstructionCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Instruction(InstructionCode code,
Field fieldA,
Field fieldB)
Constructs an Instruction consisting of instruction code and A- and
B-Fields.
|
Instruction(InstructionCode code,
Modifiers modifier,
Field fieldA,
Field fieldB)
Constructs an Instruction consisting of instruction code, modifier and A-
and B-Fields.
|
Instruction(java.lang.String label,
InstructionCode code,
Modifiers modifier,
Field fieldA,
Field fieldB)
Constructs an Instruction consisting of label, instruction code, modifier
and A- and B-Fields.
|