Constructor
new Add(locationIndex, N)
Constructor for the add instruction
Parameters:
| Name | Type | Description |
|---|---|---|
locationIndex |
Number | The location of the instruction within the unoptimised source code |
N |
Number | Positive Integer to add to current data cell |
- Source:
Methods
operation(cpu)
Applies the add N instruction to the cpu
Parameters:
| Name | Type | Description |
|---|---|---|
cpu |
BFCpu | The cpu to apply the operation on. |
- Source: