From d292118ff0143ef2ae3848ac5f1353d95636c4a1 Mon Sep 17 00:00:00 2001 From: borutr Date: Mon, 23 Feb 2009 20:29:19 +0000 Subject: [PATCH] * as/z80/asexpr.c: fixed bug #1829678: Z-80 CP A, assembly it is already fixed for mcs51 and hc08 targets git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5387 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 33 +++++++++++++++++++-------------- as/z80/asexpr.c | 1 + 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0a9735d8..4717f92e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2008-02-22 Borut Razem +2009-02-23 Borut Razem + + * as/z80/asexpr.c: fixed bug #1829678: Z-80 CP A, assembly + it is already fixed for mcs51 and hc08 targets + +2009-02-22 Borut Razem * device/lib/Makefile.in: fixed parenthesis error * doc/sdccman.lyx: fixed webdocs bug #2071421: error in the manual, @@ -13,7 +18,7 @@ * as/link/mcs51/lkihx.c (hexRecord): bugfix do not insert extended address when addresses are unsorted -2008-02-15 Frieder Ferlemann +2009-02-15 Frieder Ferlemann * device/include/mcs51/p89v66x.h: added ENBOOT thanks Gudjon Gudjonsson @@ -22,30 +27,30 @@ * doc/sdccman.lyx: added to index, try to reanimate svn keywords -2008-02-14 Borut Razem +2009-02-14 Borut Razem * doc/sdccman.lyx: corrected cpp info -2008-02-13 Borut Razem +2009-02-13 Borut Razem * as/Makefile.in: *.doc renamed to *.txt -2008-02-11 Borut Razem +2009-02-11 Borut Razem * as/doc/aslnk.doc, as/doc/abstra.doc: renamed to *.txt * as/doc/aslnk.txt, as/doc/asxhtml.html: changed licens to GPLv3 -2008-02-11 Borut Razem +2009-02-11 Borut Razem * doc/sdccman.lyx: documented ar format libraries -2008-02-10 Frieder Ferlemann +2009-02-10 Frieder Ferlemann * support/regression/tests/float_single.c: added regression test. Some testpoints for probably rarely used functions (acosf, sinhf, tanf, expf) disabled for some targets -2008-02-10 Raphael Neider +2009-02-10 Raphael Neider * src/pic16/gen.c (pic16_freeAsmop): avoid NULL pointer dereference, (genAssign): fixed for operands on the stack @@ -70,15 +75,15 @@ device/lib/pic16/libc/stdio/vsprintf.c: do not mess up the user's pointer to the string buffer, enlarge buffer for x_ftoa() -2008-02-10 Borut Razem +2009-02-10 Borut Razem * device/lib/printf_tiny.c: replaced non-C89 comments '//' with '/* */' -2008-02-10 Raphael Neider +2009-02-10 Raphael Neider * device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t -2008-02-09 Raphael Neider +2009-02-09 Raphael Neider * src/pic16/pcode.c (assignToSameBank): add force argument to ignore artificial bank size limits for compound data (structs, arrays), @@ -148,7 +153,7 @@ device/lib/z80/Makefile.in: chose source files in the PORT directory if they are available -2008-02-01 Raphael Neider +2009-02-01 Raphael Neider * device/lib/pic16/libdev/pic18f1220.c, * device/lib/pic16/libdev/pic18f4450.c: @@ -163,11 +168,11 @@ * support/regression/tests/snprintf.c: reenable floating point in small-xstack-auto library -2008-01-26 Raphael Neider +2009-01-26 Raphael Neider * src/pic16/ralloc.c (packForPush): disabled to fix #2496919 -2008-01-25 Raphael Neider +2009-01-25 Raphael Neider * src/pic16/main.c (_pic16_linkEdit): prepend -L paths to linker search path instead of appending them diff --git a/as/z80/asexpr.c b/as/z80/asexpr.c index 6d9211c3..f9bda739 100644 --- a/as/z80/asexpr.c +++ b/as/z80/asexpr.c @@ -461,6 +461,7 @@ register struct expr *esp; getid(id, c); sp = lookup(id); if (sp->s_type == S_NEW) { + esp->e_addr = 0; if (sp->s_flag&S_GBL) { esp->e_flag = 1; esp->e_base.e_sp = sp; -- 2.30.2