commit b20c150922c96262e2ddc88478690127c898b13f
parent 60bac13dd86d5c603b30e84b3b79722e657e9ffc
Author: neauoire <aliceffekt@gmail.com>
Date: Fri, 5 Mar 2021 12:02:01 -0800
Fixed issue with string
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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);