jeV method
void
jeV()
Implementation
void jeV() {
//Debugger.verbose('${pcHex(-1)} [jeV]');
final operands = visitOperandsVar(4, true);
if (operands.length < 2) {
throw GameException('At least 2 operands required for jeV instruction.');
}
var foundMatch = false;
final testVal = MathHelper.toSigned(operands[0].value!);
for (int i = 1; i < operands.length; i++) {
if (foundMatch == true) break;
final against = MathHelper.toSigned(operands[i].value!);
if (testVal == against) {
foundMatch = true;
}
}
branch(foundMatch);
}