update debug
This commit is contained in:
2
njvm.c
2
njvm.c
@@ -107,7 +107,7 @@ void execute(struct program program) {
|
||||
case RSF:
|
||||
if (debug == 1) printf("rsf\n");
|
||||
if (debug == 1) printf("pop: %i\n", peek(stack, 1));
|
||||
*stack.current = fp - 2;
|
||||
*stack.current = fp + 2;
|
||||
if (debug == 1) printf("pop: %i\n", peek(stack, 1));
|
||||
fp = pop(stack);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user