gc
This commit is contained in:
parent
ba9d0b77b9
commit
50b6bc0694
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
njvm.c
2
njvm.c
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user