update debug
This commit is contained in:
parent
2cb94eaf76
commit
3f12378110
2
njvm.c
2
njvm.c
@ -107,7 +107,7 @@ void execute(struct program program) {
|
|||||||
case RSF:
|
case RSF:
|
||||||
if (debug == 1) printf("rsf\n");
|
if (debug == 1) printf("rsf\n");
|
||||||
if (debug == 1) printf("pop: %i\n", peek(stack, 1));
|
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));
|
if (debug == 1) printf("pop: %i\n", peek(stack, 1));
|
||||||
fp = pop(stack);
|
fp = pop(stack);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user