Browse code

Fixed issue with string

neauoire authored on 05/03/2021 20:02:01
Showing 1 changed files
... ...
@@ -89,7 +89,6 @@ pushtext(char *s, int lit)
89 89
 		pushbyte(0x22, 0);
90 90
 	while((c = s[i++]))
91 91
 		pushbyte(c, 0);
92
-	pushbyte(' ', 0);
93 92
 }
94 93
 
95 94
 Macro *
... ...
@@ -285,7 +284,7 @@ pass1(FILE *f)
285 284
 			if(sihx(w))
286 285
 				addr += slen(w) == 4 ? 2 : 1;
287 286
 			else
288
-				addr += slen(w) + 1;
287
+				addr += slen(w);
289 288
 		} else if(w[0] == '@') {
290 289
 			if(!makelabel(w + 1, addr, 0, NULL))
291 290
 				return error("Pass1 failed", w);