Constructor
new BFInstruction(symbol, locationIndex)
Constructor for the BFInstructor Abstract Interface class.
Parameters:
| Name | Type | Description |
|---|---|---|
symbol |
String | The symbol for the instruction |
locationIndex |
Number | The location of the instruction within the unoptimised source code |
- Source:
- See:
Throws:
-
Abstract class BFInstruction can't be instantiated
- Type
- Error
Methods
operation(cpu)
Applies the Instruction operation to the CPU.
Parameters:
| Name | Type | Description |
|---|---|---|
cpu |
BFCpu | The cpu to apply the operation on. |
- Source:
Throws:
-
Method Operation() must be implemented.
- Type
- Error