This commit is contained in:
nilspolek 2024-01-28 18:04:13 +01:00
parent ba9d0b77b9
commit 50b6bc0694
6 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

2
njvm.c
View File

@ -51,7 +51,7 @@ void execute(struct program program) {
ObjRef tempObj2; ObjRef tempObj2;
int tempInt; int tempInt;
for (i = 0; i < *program.size; ++i) { for (i = 0; i < *program.size; ++i) {
//if (debug == 1 || bp == i) debugMenu(fp, stack, &debug, i, &bp); if (debug == 1 || bp == i) debugMenu(fp, stack, &debug, i, &bp);
if(debug == 1) printf("(%i)",i); if(debug == 1) printf("(%i)",i);
switch (program.program[i] >> 24) { switch (program.program[i] >> 24) {
case HALT: case HALT:

BIN
njvm.o

Binary file not shown.