projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*fixed problem with non-existent error messages about short jumps
[fw/sdcc]
/
as
/
z80
/
z80mch.c
diff --git
a/as/z80/z80mch.c
b/as/z80/z80mch.c
index 6758c0057a1d34e7ce9656493c5bcac3de954b0c..9e45ece7114a7c79a3342bbecfaed4ffa4ab905c 100644
(file)
--- a/
as/z80/z80mch.c
+++ b/
as/z80/z80mch.c
@@
-557,7
+557,7
@@
struct mne *mp;
outab(op);
if (e2.e_base.e_ap == NULL || e2.e_base.e_ap == dot.s_area) {
v2 = e2.e_addr - dot.s_addr - 1;
- if (
(v2 < -128) || (v2 > 127
))
+ if (
pass == 2 && ((v2 < -128) || (v2 > 127)
))
aerr();
outab(v2);
} else {