diff --git a/src/uxnasm.c b/src/uxnasm.c index b229da3..9e8e0e1 100644 --- a/src/uxnasm.c +++ b/src/uxnasm.c @@ -408,6 +408,7 @@ static int assemble(FILE *f) { char w[0x40]; + p.ptr = 0x100; scpy("on-reset", p.scope, 0x40); while(fscanf(f, "%62s", w) == 1) if(slen(w) > 0x3d || !parse(w, f))