fw/sdcc
22 years agoFixed up initalisation of size
michaelh [Mon, 3 Sep 2001 18:07:44 +0000 (18:07 +0000)]
Fixed up initalisation of size

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1219 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago * src/z80/gen.c (fetchLitPair): Changed so that it properly caches direct space...
michaelh [Mon, 3 Sep 2001 04:23:48 +0000 (04:23 +0000)]
* 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

22 years agosome minor --stack-auto improvements
johanknol [Sun, 2 Sep 2001 14:42:42 +0000 (14:42 +0000)]
some minor --stack-auto improvements

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1217 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed bug #457718
johanknol [Sun, 2 Sep 2001 14:39:49 +0000 (14:39 +0000)]
fixed bug #457718

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1216 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoadd JAMIN ds390 testing switch
kbongers [Sun, 2 Sep 2001 06:19:52 +0000 (06:19 +0000)]
add JAMIN ds390 testing switch

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1215 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agotraces for AP and dptr1 use
kbongers [Sun, 2 Sep 2001 06:18:03 +0000 (06:18 +0000)]
traces for AP and dptr1 use

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1214 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoadd test prog
kbongers [Sun, 2 Sep 2001 06:15:34 +0000 (06:15 +0000)]
add test prog

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1213 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoStopped a couple of warnings.
michaelh [Sun, 2 Sep 2001 04:33:43 +0000 (04:33 +0000)]
Stopped a couple of warnings.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1212 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago * src/z80/gen.c: Fixed up generator to pass the regresion tests, specifically fixing...
michaelh [Sun, 2 Sep 2001 04:21:43 +0000 (04:21 +0000)]
* src/z80/gen.c: Fixed up generator to pass the regresion tests, specifically fixing loads for longs, genCmp, and turned on the map file.

* device/lib/gbz80/Makefile: Fixed up all the libraries to pass the regression tests.

* support/regression/ports/host/spec.mk: Updated to compile with the new type specifiers.

* device/lib/Makefile.in (Z80SOURCES): Removed old _mululong, _mulslong, and unneeded _mulint.

* device/lib/_mullong.c (_mulslong): Changed to actually return a value :)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1210 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoadd DS390F
kbongers [Sat, 1 Sep 2001 23:59:28 +0000 (23:59 +0000)]
add DS390F

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1209 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agomake CC=sdcc
kbongers [Sat, 1 Sep 2001 23:56:20 +0000 (23:56 +0000)]
make CC=sdcc

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1208 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofix up simple example
kbongers [Sat, 1 Sep 2001 23:55:13 +0000 (23:55 +0000)]
fix up simple example

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1207 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoadd start of flat24 support
kbongers [Sat, 1 Sep 2001 23:53:47 +0000 (23:53 +0000)]
add start of flat24 support

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1206 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago * support/regression/ports/host/spec.mk: Updated to compile with the new...
michaelh [Sat, 1 Sep 2001 23:01:08 +0000 (23:01 +0000)]
    * support/regression/ports/host/spec.mk: Updated to compile with the new type specifiers.

        * device/lib/Makefile.in (Z80SOURCES): Removed old _mululong, _mulslong, and unneeded _mulint$
        * device/lib/_mullong.c (_mulslong): Changed to actually return a value :)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1205 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoadd simple asm example
kbongers [Sat, 1 Sep 2001 16:33:30 +0000 (16:33 +0000)]
add simple asm example

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1204 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoupdateSpillocation did not check for nosupdate flag for inductions
sandeep [Sat, 1 Sep 2001 15:38:50 +0000 (15:38 +0000)]
updateSpillocation did not check for nosupdate flag for inductions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1203 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agothe --stack-auto crash fix wasn't so useless after all.
johanknol [Sat, 1 Sep 2001 09:28:35 +0000 (09:28 +0000)]
the --stack-auto crash fix wasn't so useless after all.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1202 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoremove some warnings
johanknol [Sat, 1 Sep 2001 08:48:33 +0000 (08:48 +0000)]
remove some warnings

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1201 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded peepholes 223 to 231 to mcs51 port.
pjs [Fri, 31 Aug 2001 06:04:38 +0000 (06:04 +0000)]
Added peepholes 223 to 231 to mcs51 port.
These improve code when using large model.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1200 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoFixed up support for the gbz80 such that it will at least run (and fail badly) the...
michaelh [Fri, 31 Aug 2001 04:43:12 +0000 (04:43 +0000)]
Fixed up support for the gbz80 such that it will at least run (and fail badly) the regression tests.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1198 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago * src/z80/gen.c (genPlus): Changed bad long add for gb to a fall through.
michaelh [Fri, 31 Aug 2001 03:24:07 +0000 (03:24 +0000)]
* src/z80/gen.c (genPlus): Changed bad long add for gb to a fall through.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1197 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoOnly build each library if configure listed it in ports.build. The
pjs [Thu, 30 Aug 2001 21:18:16 +0000 (21:18 +0000)]
Only build each library if configure listed it in ports.build.  The
ds390 port had this test... I just put it around the others too.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1196 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoadd ds390 processor
kbongers [Thu, 30 Aug 2001 17:40:56 +0000 (17:40 +0000)]
add ds390 processor

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1195 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoChange IS_DS390 to .model=FLAT24
kbongers [Thu, 30 Aug 2001 17:36:18 +0000 (17:36 +0000)]
Change IS_DS390 to .model=FLAT24

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1194 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoFix initialization of arrays of char *
kvigor [Thu, 30 Aug 2001 16:18:26 +0000 (16:18 +0000)]
Fix initialization of arrays of char *

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1193 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agovsnprintf is not standard
anoncvs_rymo [Thu, 30 Aug 2001 15:49:37 +0000 (15:49 +0000)]
vsnprintf is not standard

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1192 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago * sim/ucsim/configure: little improvement of Cygwin-detection
bernhardheld [Thu, 30 Aug 2001 10:59:48 +0000 (10:59 +0000)]
* sim/ucsim/configure:    little improvement of Cygwin-detection
* sim/ucsim/configure.in: little improvement of Cygwin-detection
* sim/ucsim/cmd.src/newcmdcl.h: include <sys/types.h> to define fd_set automated build
* support/regression/tests/bug-221100.c: small changes for mcs51
* support/regression/tests/bug-221168.c: small changes for mcs51
* support/regression/tests/bug-227710.c: small changes for mcs51
* support/regression/tests/staticinit.c: small changes for mcs51
* as/mcs51/aslink.h: accept everything as symbol name in rel-files, bug fix ID 452601
* as/mcs51/lklex.c:  accept everything as symbol name in rel-files, bug fix ID 452601
* as/mcs51/lksym.c:  accept everything as symbol name in rel-files, bug fix ID 452601

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1191 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoaccept everything as symbol name in rel-files, bug fix ID 452601
bernhardheld [Thu, 30 Aug 2001 10:57:39 +0000 (10:57 +0000)]
accept everything as symbol name in rel-files, bug fix ID 452601

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1190 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agosmall changes for mcs51
bernhardheld [Thu, 30 Aug 2001 10:33:45 +0000 (10:33 +0000)]
small changes for mcs51

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1189 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoinclude <sys/types.h> to define fd_set automated build
bernhardheld [Thu, 30 Aug 2001 10:29:15 +0000 (10:29 +0000)]
include <sys/types.h> to define fd_set automated build

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1188 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agolittle improvement of Cygwin-detection
bernhardheld [Thu, 30 Aug 2001 10:26:10 +0000 (10:26 +0000)]
little improvement of Cygwin-detection

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1187 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago * link/z80/aslink.h: Fixed long file name support. Is now based off PATH_MAX instea...
michaelh [Thu, 30 Aug 2001 02:39:25 +0000 (02:39 +0000)]
* link/z80/aslink.h: Fixed long file name support.  Is now based off PATH_MAX instead of a constant.
* src/z80/gen.c: Fixed add and sub for the case where left or right are in static space.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1186 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agono shared lib under Cygwin
bernhardheld [Tue, 28 Aug 2001 20:59:05 +0000 (20:59 +0000)]
no shared lib under Cygwin

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1185 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed bug #455597
johanknol [Tue, 28 Aug 2001 15:07:22 +0000 (15:07 +0000)]
fixed bug #455597

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1184 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoconstant strings should be in codespace
johanknol [Tue, 28 Aug 2001 11:53:23 +0000 (11:53 +0000)]
constant strings should be in codespace

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1183 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoallow compile of small large model
kbongers [Tue, 28 Aug 2001 04:28:58 +0000 (04:28 +0000)]
allow compile of small large model

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1182 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded tests from Scott's PIC tests
michaelh [Tue, 28 Aug 2001 02:35:37 +0000 (02:35 +0000)]
Added tests from Scott's PIC tests

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1181 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoFix old array initialization support
kvigor [Mon, 27 Aug 2001 16:39:12 +0000 (16:39 +0000)]
Fix old array initialization support

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1180 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoOptimised mul, added asm string functions
michaelh [Mon, 27 Aug 2001 06:49:01 +0000 (06:49 +0000)]
Optimised mul, added asm string functions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1179 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoSome more improvements on AVR
sandeep [Mon, 27 Aug 2001 04:16:24 +0000 (04:16 +0000)]
Some more improvements on AVR

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1178 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agopCode peep is fully working for the PIC port.
sdattalo [Mon, 27 Aug 2001 01:06:42 +0000 (01:06 +0000)]
pCode peep is fully working for the PIC port.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1176 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoIncreased buffer size for regression tests:
bernhardheld [Sun, 26 Aug 2001 18:01:33 +0000 (18:01 +0000)]
Increased buffer size for regression tests:
FILSPC (80) and NINPUT (128) replaced by FILENAME_MAX

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1175 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago* Change from GPL to LGPL
bernhardheld [Sun, 26 Aug 2001 15:27:19 +0000 (15:27 +0000)]
* Change from GPL to LGPL
* added assembler for large model

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1174 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoChange from GPL to LGPL
bernhardheld [Sun, 26 Aug 2001 15:23:45 +0000 (15:23 +0000)]
Change from GPL to LGPL

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1173 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoFixed regression
sandeep [Sun, 26 Aug 2001 04:57:16 +0000 (04:57 +0000)]
Fixed regression

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1172 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded support for gsinit packing.
michaelh [Sun, 26 Aug 2001 00:49:03 +0000 (00:49 +0000)]
Added support for gsinit packing.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1171 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofix for bug-453196
sandeep [Sat, 25 Aug 2001 23:26:12 +0000 (23:26 +0000)]
fix for bug-453196

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1170 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agochange printf_fast to LGPL
pjs [Sat, 25 Aug 2001 15:54:07 +0000 (15:54 +0000)]
change printf_fast to LGPL

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1169 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded simple static array init test
michaelh [Sat, 25 Aug 2001 03:51:00 +0000 (03:51 +0000)]
Added simple static array init test

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1168 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago(optionally) push static array initialization down to the ports code generator
kvigor [Fri, 24 Aug 2001 19:04:40 +0000 (19:04 +0000)]
(optionally) push static array initialization down to the ports code generator

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1167 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agopartial fix for bug 436868
johanknol [Fri, 24 Aug 2001 14:16:12 +0000 (14:16 +0000)]
partial fix for bug 436868

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1166 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoremoved a useless fix
johanknol [Thu, 23 Aug 2001 15:41:11 +0000 (15:41 +0000)]
removed a useless fix

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1165 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoadd mcs51-port
bernhardheld [Thu, 23 Aug 2001 12:59:13 +0000 (12:59 +0000)]
add mcs51-port

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1164 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoadd mcs51-port
bernhardheld [Thu, 23 Aug 2001 12:53:07 +0000 (12:53 +0000)]
add mcs51-port

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1163 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed bug 449137/453886
johanknol [Wed, 22 Aug 2001 11:07:44 +0000 (11:07 +0000)]
fixed bug 449137/453886

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1162 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoThis _could_ be a fix for the everlasting --stack-auto compiler crash
johanknol [Tue, 21 Aug 2001 16:23:18 +0000 (16:23 +0000)]
This _could_ be a fix for the everlasting --stack-auto compiler crash

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1161 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoloop reversal works for int and long too
johanknol [Tue, 21 Aug 2001 12:00:10 +0000 (12:00 +0000)]
loop reversal works for int and long too

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1160 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed bug #451453
johanknol [Tue, 21 Aug 2001 11:58:34 +0000 (11:58 +0000)]
fixed bug #451453

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1159 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed bug #453370
johanknol [Tue, 21 Aug 2001 10:30:42 +0000 (10:30 +0000)]
fixed bug #453370

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1158 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoFix compiler warnings, extra tokens at end of #endif, no newline at
pjs [Tue, 21 Aug 2001 07:41:28 +0000 (07:41 +0000)]
Fix compiler warnings, extra tokens at end of #endif, no newline at
end of file, implicit declaration of memset (new glibc defines in string.h)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1157 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded simple assertions to help bug tracking
michaelh [Mon, 20 Aug 2001 04:39:03 +0000 (04:39 +0000)]
Added simple assertions to help bug tracking

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1156 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoTurned off dumpall
michaelh [Mon, 20 Aug 2001 04:36:48 +0000 (04:36 +0000)]
Turned off dumpall

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1155 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded tests for switch statement and the z80 loop induction problem
michaelh [Mon, 20 Aug 2001 04:32:44 +0000 (04:32 +0000)]
Added tests for switch statement and the z80 loop induction problem

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1154 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed pointer post increment problem
sandeep [Sun, 19 Aug 2001 15:55:47 +0000 (15:55 +0000)]
fixed pointer post increment problem

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1153 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoFixed pointer post increment problem
sandeep [Sun, 19 Aug 2001 15:52:51 +0000 (15:52 +0000)]
Fixed pointer post increment problem

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1152 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agocorrected logic of _SDCC_NO_ASM_LIB_FUNCS
bernhardheld [Sun, 19 Aug 2001 11:18:14 +0000 (11:18 +0000)]
corrected logic of _SDCC_NO_ASM_LIB_FUNCS

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1151 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agomake cpp -> bin/sdcppold
kbongers [Sat, 18 Aug 2001 04:41:51 +0000 (04:41 +0000)]
make cpp -> bin/sdcppold

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1150 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agomake cpp2 -> bin/sdcpp
kbongers [Sat, 18 Aug 2001 04:40:49 +0000 (04:40 +0000)]
make cpp2 -> bin/sdcpp

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1149 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoRemoved linker-problems under CYGWIN
bernhardheld [Thu, 16 Aug 2001 20:09:35 +0000 (20:09 +0000)]
Removed linker-problems under CYGWIN

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1148 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoRemoved linker-problems under CYGWIN
bernhardheld [Thu, 16 Aug 2001 20:04:20 +0000 (20:04 +0000)]
Removed linker-problems under CYGWIN

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1147 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoRemoved linker-problems under CYGWIN
bernhardheld [Thu, 16 Aug 2001 19:48:38 +0000 (19:48 +0000)]
Removed linker-problems under CYGWIN

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1146 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoRemoved problems with old sdcpp
bernhardheld [Thu, 16 Aug 2001 19:40:27 +0000 (19:40 +0000)]
Removed problems with old sdcpp

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1145 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agobug 427642 fix: error with files like ./file.asm
bernhardheld [Wed, 15 Aug 2001 12:39:09 +0000 (12:39 +0000)]
bug 427642 fix: error with files like ./file.asm

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1144 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAssembler functions for _mulint and _mullong
bernhardheld [Wed, 15 Aug 2001 09:17:56 +0000 (09:17 +0000)]
Assembler functions for _mulint and _mullong

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1143 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAvoid tmp-files: create them only when compiling
bernhardheld [Mon, 13 Aug 2001 19:47:55 +0000 (19:47 +0000)]
Avoid tmp-files: create them only when compiling

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1142 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoFixed up ENDIAN warning with CYGWIN
bernhardheld [Mon, 13 Aug 2001 05:50:37 +0000 (05:50 +0000)]
Fixed up ENDIAN warning with CYGWIN

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1141 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoHelp-text corrected
bernhardheld [Sun, 12 Aug 2001 22:29:52 +0000 (22:29 +0000)]
Help-text corrected
delete tmp-files in case of error

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1140 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoHelp-text corrected
bernhardheld [Sun, 12 Aug 2001 22:21:14 +0000 (22:21 +0000)]
Help-text corrected
delete tmp-files in case of error

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1139 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoHelp-text corrected
bernhardheld [Sun, 12 Aug 2001 22:15:42 +0000 (22:15 +0000)]
Help-text corrected
delete tmp-files in case of error

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1138 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agowas stopping on every entry/exit point
kbongers [Sun, 12 Aug 2001 17:41:26 +0000 (17:41 +0000)]
was stopping on every entry/exit point

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1137 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed the lineno error when using the new sdcpp
johanknol [Fri, 10 Aug 2001 10:37:49 +0000 (10:37 +0000)]
fixed the lineno error when using the new sdcpp

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1136 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed bug #449137
johanknol [Fri, 10 Aug 2001 09:03:31 +0000 (09:03 +0000)]
fixed bug #449137

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1135 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoChanged z80 to use loop induction. Updated libs to use no induction when it is better.
michaelh [Thu, 9 Aug 2001 05:34:47 +0000 (05:34 +0000)]
Changed z80 to use loop induction.  Updated libs to use no induction when it is better.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1134 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago* Optimised many of the library functions
michaelh [Wed, 8 Aug 2001 03:22:14 +0000 (03:22 +0000)]
* Optimised many of the library functions
* Added profiling support into the gb port
* Improved the peephole.
* Improved acc packing.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1131 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoGet debugger working
kbongers [Mon, 6 Aug 2001 00:16:49 +0000 (00:16 +0000)]
Get debugger working

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1130 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofill with notes
kbongers [Mon, 6 Aug 2001 00:15:09 +0000 (00:15 +0000)]
fill with notes

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1129 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago"fixed" bug 447547
johanknol [Sat, 4 Aug 2001 13:22:43 +0000 (13:22 +0000)]
"fixed" bug 447547

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1128 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed bug #447331
johanknol [Fri, 3 Aug 2001 10:26:35 +0000 (10:26 +0000)]
fixed bug #447331

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1127 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded div/mod/mul stubs file
michaelh [Fri, 3 Aug 2001 06:32:10 +0000 (06:32 +0000)]
Added div/mod/mul stubs file

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1126 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago* Fixed alias of -c to -canything
michaelh [Fri, 3 Aug 2001 06:31:03 +0000 (06:31 +0000)]
* Fixed alias of -c to -canything
* Added long support for mul and div to the z80 port.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1125 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofix genrshTwo bug
kvigor [Thu, 2 Aug 2001 17:00:27 +0000 (17:00 +0000)]
fix genrshTwo bug

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1124 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded support fun for long shifts
michaelh [Thu, 2 Aug 2001 15:22:42 +0000 (15:22 +0000)]
Added support fun for long shifts

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1123 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years ago* Added support for doing shifts by helper functions
michaelh [Thu, 2 Aug 2001 15:21:20 +0000 (15:21 +0000)]
* Added support for doing shifts by helper functions
* Fleshed out long support in the z80 port
* Fixed left and right shift in the z80 port.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1122 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoUpdated most tests to also do longs
michaelh [Thu, 2 Aug 2001 15:15:51 +0000 (15:15 +0000)]
Updated most tests to also do longs

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1121 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoa treat for those poor MS$ addicts
johanknol [Thu, 2 Aug 2001 10:55:47 +0000 (10:55 +0000)]
a treat for those poor MS$ addicts

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1120 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed bug #444971
johanknol [Wed, 1 Aug 2001 11:34:14 +0000 (11:34 +0000)]
fixed bug #444971

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1119 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agofixed the bit to int cast
johanknol [Wed, 1 Aug 2001 07:50:06 +0000 (07:50 +0000)]
fixed the bit to int cast

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1118 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoCleared the top bytes for use in arrays.
michaelh [Wed, 1 Aug 2001 03:33:57 +0000 (03:33 +0000)]
Cleared the top bytes for use in arrays.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1117 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agoAdded test cases from the bug list
michaelh [Wed, 1 Aug 2001 03:32:51 +0000 (03:32 +0000)]
Added test cases from the bug list

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1116 4a8a32a2-be11-0410-ad9d-d568d2c75423

22 years agosmall fix for constant range check
johanknol [Tue, 31 Jul 2001 09:19:12 +0000 (09:19 +0000)]
small fix for constant range check

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1115 4a8a32a2-be11-0410-ad9d-d568d2c75423