Beispiel #1
0
bool RARIsProgramTerminated(RARProgram *prog)
{
    return prog->length > 0 && RARInstructionIsUnconditionalJump(prog->opcodes[prog->length - 1].instruction);
}
Beispiel #2
0
bool IsProgramTerminated(RAROpcode *opcodes,int numopcodes)
{
	return RARInstructionIsUnconditionalJump(opcodes[numopcodes-1].instruction);
}