Class: RShiftN

RShiftN(locationIndex, N)

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

Constructor

new RShiftN(locationIndex, N)

Constructor for the Right 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 right by
Source:

Methods

operation(cpu)

Applies the right 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:45 GMT-0700 (Pacific Daylight Time)