Fixed issue with string
This commit is contained in:
parent
60bac13dd8
commit
b20c150922
|
@ -89,7 +89,6 @@ pushtext(char *s, int lit)
|
||||||
pushbyte(0x22, 0);
|
pushbyte(0x22, 0);
|
||||||
while((c = s[i++]))
|
while((c = s[i++]))
|
||||||
pushbyte(c, 0);
|
pushbyte(c, 0);
|
||||||
pushbyte(' ', 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Macro *
|
Macro *
|
||||||
|
@ -285,7 +284,7 @@ pass1(FILE *f)
|
||||||
if(sihx(w))
|
if(sihx(w))
|
||||||
addr += slen(w) == 4 ? 2 : 1;
|
addr += slen(w) == 4 ? 2 : 1;
|
||||||
else
|
else
|
||||||
addr += slen(w) + 1;
|
addr += slen(w);
|
||||||
} else if(w[0] == '@') {
|
} else if(w[0] == '@') {
|
||||||
if(!makelabel(w + 1, addr, 0, NULL))
|
if(!makelabel(w + 1, addr, 0, NULL))
|
||||||
return error("Pass1 failed", w);
|
return error("Pass1 failed", w);
|
||||||
|
|
Loading…
Reference in New Issue