| 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 |
|---|---|
AddressingMode |
Field.getMode()
Gets AddressingMode of the field.
|
static AddressingMode |
AddressingMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddressingMode[] |
AddressingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Instruction.setField(int fieldAorB,
AddressingMode mode,
int value)
Sets FieldValue and AddressingMode for a or b ([Field.a] = 0, [Field.b] =
1)
|
| Constructor and Description |
|---|
Field(AddressingMode mode,
int value)
Constructs Field of addressingMode and integer value.
|
Field(AddressingMode mode,
java.lang.String label)
Constructs Field of addressingMode and label.
|