update debug

This commit is contained in:
Elias Bennour 2023-12-09 23:10:23 +01:00
parent b87ebbe841
commit 9d64b87a09

1
njvm.c
View File

@ -106,6 +106,7 @@ void execute(struct program program) {
break;
case RSF:
if (debug == 1) printf("rsf\n");
if (debug == 1) printf("pop: %i\n", peek(stack, 1));
*stack.current = fp + 2;
fp = pop(stack);
break;