awkasm: fix error message

This commit is contained in:
Nero 2023-01-01 21:45:04 +00:00
parent 62975f81b9
commit d89c916711

View File

@ -138,7 +138,7 @@ function getsym(name) {
return int(name)
}
if (name in r8 || name in r16 || name in sreg) {
err("Register name " name "is not a valid immediate")
err("Register name " name " is not a valid immediate")
return 0
}
if (substr(name,1,1)==".") name = plabel name