xBar property Null safety

NormalOperation xBar
final

Implementation

static final NormalOperation xBar = StackLiftingNormalOperation.floatOnly(
    floatCalc: (Model m) {
      final denom = m.memory.registers[2].asDouble;
      m.xF = m.memory.registers[5].asDouble / denom;
      // Don't set LastX - checked on 15C
      m.pushStack();
      m.xF = m.memory.registers[3].asDouble / denom;
    },
    needsStackLiftIfEnabled: _statsLift,
    name: 'xBar');