call_1s method

void call_1s()

Implementation

void call_1s() {
  //Debugger.verbose('${pcHex(-1)} [call_1s]');

  var operand = visitOperandsShortForm();

  var storeTo = readb();

  var returnAddr = programCounter;

  programCounter = unpack(operand.value!);

  visitRoutine([]);

  //push the result store address onto the call stack
  callStack.push(storeTo);

  //push the return address onto the call stack
  callStack.push(returnAddr);
}