Class: LShiftN

LShiftN(locationIndex, N)

The left shift instruction that shifts the data pointer to the left N cells

Constructor

new LShiftN(locationIndex, N)

Constructor for the Left Shift instruction
Parameters:
Name Type Description
locationIndex Number The location of the instruction within the unoptimised source code
N Number Positive Integer to shift data pointer to the left by
Source:

Methods

operation(cpu)

Applies the left shift instruction to the cpu
Parameters:
Name Type Description
cpu BFCpu The cpu to apply the operation on.
Source:

Documentation generated by JSDoc 4.0.2 on Fri Jun 12 2026 23:36:44 GMT-0700 (Pacific Daylight Time)