update debug
This commit is contained in:
parent
742f050b24
commit
8be99c5244
1
njvm.c
1
njvm.c
@ -107,6 +107,7 @@ void execute(struct program program) {
|
|||||||
case RSF:
|
case RSF:
|
||||||
if (debug == 1) printf("rsf: %i\n", SIGN_EXTEND(IMMEDIATE(program.program[i])));
|
if (debug == 1) printf("rsf: %i\n", SIGN_EXTEND(IMMEDIATE(program.program[i])));
|
||||||
*stack.current = fp;
|
*stack.current = fp;
|
||||||
|
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