getPropLen method

void getPropLen()

Implementation

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

  final operand = visitOperandsShortForm();

  final resultTo = readb();

  final propLen = GameObject.propertyLength(operand.value! - 1);
  //Debugger.verbose('    (${pcHex()}) property length: $propLen , addr: 0x${operand.value.toRadixString(16)}');
  writeVariable(resultTo, propLen);
}