From b20c150922c96262e2ddc88478690127c898b13f Mon Sep 17 00:00:00 2001 From: neauoire Date: Fri, 5 Mar 2021 12:02:01 -0800 Subject: [PATCH] Fixed issue with string --- assembler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assembler.c b/assembler.c index 0256e92..625d78d 100644 --- a/assembler.c +++ b/assembler.c @@ -89,7 +89,6 @@ pushtext(char *s, int lit) pushbyte(0x22, 0); while((c = s[i++])) pushbyte(c, 0); - pushbyte(' ', 0); } Macro * @@ -285,7 +284,7 @@ pass1(FILE *f) if(sihx(w)) addr += slen(w) == 4 ? 2 : 1; else - addr += slen(w) + 1; + addr += slen(w); } else if(w[0] == '@') { if(!makelabel(w + 1, addr, 0, NULL)) return error("Pass1 failed", w);