Constructor
new LBrack(locationIndex, pairedLocationIndex)
Constructor for the Left Bracket instruction
Parameters:
| Name | Type | Description |
|---|---|---|
locationIndex |
Number | The location of the instruction within the unoptimised source code |
pairedLocationIndex |
Number | The location of the jump instruction within the unoptimised source code |
- Source:
- See:
Methods
operation(cpu)
Applies the Left bracket instruction to the cpu. Only jumps to the close
bracket if the value at the current data cell is zero.
Parameters:
| Name | Type | Description |
|---|---|---|
cpu |
BFCpu | The cpu to apply the operation on. |
- Source: