update debug
This commit is contained in:
parent
9d64b87a09
commit
2cb94eaf76
1
njvm.c
1
njvm.c
@ -108,6 +108,7 @@ void execute(struct program program) {
|
|||||||
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));
|
||||||
fp = pop(stack);
|
fp = pop(stack);
|
||||||
break;
|
break;
|
||||||
case POPL:
|
case POPL:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user