diff --git a/njvm.c b/njvm.c index ae32165..ef8fdc7 100644 --- a/njvm.c +++ b/njvm.c @@ -169,6 +169,7 @@ void execute(struct program program) { case CALL: if (debug == 1) printf("call: %i\n", SIGN_EXTEND(IMMEDIATE(program.program[i]))); push(stack, i + 1); + if (debug == 1) printf("push: %i\n", i + 1); i = SIGN_EXTEND(IMMEDIATE(program.program[i])) - 1; if (debug == 1) printf("new i: %i\n", i); break;