* src/z80/gen.c (fetchLitPair): Changed so that it properly caches direct space...
authormichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 3 Sep 2001 04:23:48 +0000 (04:23 +0000)
committermichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 3 Sep 2001 04:23:48 +0000 (04:23 +0000)
commit9527f72e6442a9d8919de3dcf42517ae0e2f80e9
treeb205fe7900019e1238740ed78e361f19c508c8af
parent99fcafaaddfe9eb3de89d61bf643cecacbb8a9d4
* src/z80/gen.c (fetchLitPair): Changed so that it properly caches direct space references.

* support/regression/tests/addsub.c: Added cases to cover all the +, - combinations.

* support/regression/tests/uminus.c: Added a test for the unary minus operator.

* src/z80/gen.c (genUminus): Fixed add, sub, and uminus on the gbz80 port for longs.  Had to shift some functions about to do it.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1218 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/z80/gen.c
src/z80/gen.h
src/z80/peeph-gbz80.def
src/z80/peeph.def
support/regression/tests/addsub.c
support/regression/tests/muldiv.c
support/regression/tests/uminus.c [new file with mode: 0644]