Forum Discussion
ak6dn
Regular Contributor
4 years agoWell, you have the source code, right? Where in the source code is the exit code 10 generated, for what cases?
JayHarikumaran
Occasional Contributor
4 years agoI can the exit code 10 is set in case 0x25
case 0x25: /* EXIT */
IF_CHECK_STACK(1)
{
*exit_code = (int) stack[--stack_ptr];
}
done = 1;
break;
How or why it gets here is harder to find out as the stack array is modified in many of the case statements which go to 0x80