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