parenI property Null safety

NormalOperation parenI
final

The HP 16's (i) operation, related to the index register

Implementation

static final NormalOperation parenI = NormalOperation(
    pressed: (ActiveState s) => s.liftStackIfEnabled(),
    calc: (Model m) {
      m.x = m.memory.registers.indirectIndex;
      m.display.displayX();
    },
    name: '(i)');