| 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 Field |
RedCodeLineParser.getField(int fieldAorB)
Gets the field a or b ([Field.a] = 0, [Field.b] = 1)
|
Field |
Instruction.getField(int fieldAorB)
Gets the field a or b ([Field.a] = 0, [Field.b] = 1)
|
| 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.
|