fw/sdcc
21 years agoMartin adds condition,ignore cmds
kbongers [Wed, 28 May 2003 17:53:10 +0000 (17:53 +0000)]
Martin adds condition,ignore cmds

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

21 years ago * doc/sdccman.lyx: Changes all over, index improved, smaller margins. The manual...
frief [Tue, 27 May 2003 23:39:27 +0000 (23:39 +0000)]
 * doc/sdccman.lyx: Changes all over, index improved, smaller margins. The manual is in parts still quite out of date, I did changes as far as I felt makes sense for a non-native english speaker.
Please feel free to add to the manual or to correct my changes.
* doc/Makefile: undid touching the date of intermediate tex files.

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

21 years agoundid touching the date of intermediate tex files
frief [Tue, 27 May 2003 23:37:10 +0000 (23:37 +0000)]
undid touching the date of intermediate tex files

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

21 years agodoc/sdccman.lyx: Changes all over, index improved, smaller margins. The manual is...
frief [Tue, 27 May 2003 23:36:20 +0000 (23:36 +0000)]
doc/sdccman.lyx: Changes all over, index improved, smaller margins. The manual is in parts still quite out of date, I did changes as far as I felt makes sense for a non-native english speaker. Please feel free to add to the manual or to correct my changes.

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

21 years agoManual has an index now
frief [Mon, 26 May 2003 00:25:07 +0000 (00:25 +0000)]
Manual has an index now

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

21 years agoFinalize muluint/mulsint and mululong/mulslong merging
bernhardheld [Sun, 25 May 2003 20:20:58 +0000 (20:20 +0000)]
Finalize muluint/mulsint and mululong/mulslong merging

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

21 years agoChanged /Zm to 1000 both for release and debug versions.
jesusc [Sun, 25 May 2003 20:05:17 +0000 (20:05 +0000)]
Changed /Zm to 1000 both for release and debug versions.

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

21 years agoChanged Zm to 1000.
jesusc [Sun, 25 May 2003 19:49:09 +0000 (19:49 +0000)]
Changed Zm to 1000.

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

21 years agoAddress space 'z' was missing.
jesusc [Sun, 25 May 2003 19:15:28 +0000 (19:15 +0000)]
Address space 'z' was missing.

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

21 years agoadded rules 244.x, 245.x. Although they pass the regression tests I'm not brave enoug...
frief [Sun, 25 May 2003 16:17:37 +0000 (16:17 +0000)]
added rules 244.x, 245.x. Although they pass the regression tests I'm not brave enough to enable 245.b, 245.c

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

21 years agoadded rules 244.x, 245.x. Although they pass the regression tests I'm not brave enoug...
frief [Sun, 25 May 2003 16:16:08 +0000 (16:16 +0000)]
added rules 244.x, 245.x. Although they pass the regression tests I'm not brave enough to enable 245.b, 245.c.
Probably they can't be applied safely from a peephole point of view.

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

21 years ago* doc/sdccman.lyx: added latex preamble for hyperref package.
frief [Sun, 25 May 2003 12:50:28 +0000 (12:50 +0000)]
* doc/sdccman.lyx: added latex preamble for hyperref package.
Using pdflatex this will give you a hyperlinked pdf file with
bookmarks. (prepend % before /usepackage if this breaks something)

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

21 years agodoc/sdccman.lyx: added latex preamble for hyperref package.Using pdflatex this will...
frief [Sun, 25 May 2003 12:46:27 +0000 (12:46 +0000)]
doc/sdccman.lyx: added latex preamble for hyperref package.Using pdflatex this will give you a hyperlinked pdf file with bookmarks. (prepend '%' before /usepackage if this breaks something)

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

21 years agoUpdated information about .adb files (bug #742649)
jesusc [Sat, 24 May 2003 17:11:32 +0000 (17:11 +0000)]
Updated information about .adb files (bug #742649)

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

21 years agoAdded description for .mem, .a51 and aomf51 files
jesusc [Fri, 23 May 2003 17:23:27 +0000 (17:23 +0000)]
Added description for .mem, .a51 and aomf51 files

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

21 years agoDo not generate dump file .d51
jesusc [Fri, 23 May 2003 17:22:43 +0000 (17:22 +0000)]
Do not generate dump file .d51

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

21 years agoOutput file is link-z80.exe not linkz80.exe
jesusc [Fri, 23 May 2003 17:22:00 +0000 (17:22 +0000)]
Output file is link-z80.exe not linkz80.exe

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

21 years agomake z80 clearly failing this test
bernhardheld [Thu, 22 May 2003 15:28:36 +0000 (15:28 +0000)]
make z80 clearly failing this test

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

21 years agosrc/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning
bernhardheld [Thu, 22 May 2003 08:49:43 +0000 (08:49 +0000)]
src/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning

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

21 years agooops
johanknol [Wed, 21 May 2003 09:30:02 +0000 (09:30 +0000)]
oops

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

21 years agofixed bug #739934
johanknol [Wed, 21 May 2003 09:26:15 +0000 (09:26 +0000)]
fixed bug #739934

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

21 years agofixed bug #739934
johanknol [Wed, 21 May 2003 09:20:49 +0000 (09:20 +0000)]
fixed bug #739934

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

21 years agoMartins commands patch
kbongers [Tue, 20 May 2003 20:43:38 +0000 (20:43 +0000)]
Martins commands patch

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

21 years agosrc/pic16/pcode\*.c: Cleaned warnings
bernhardheld [Tue, 20 May 2003 10:43:38 +0000 (10:43 +0000)]
src/pic16/pcode\*.c: Cleaned warnings

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

21 years agoApplied patch from bug 737905 (renamed yylineo to mylineno)
bernhardheld [Tue, 20 May 2003 06:44:44 +0000 (06:44 +0000)]
Applied patch from bug 737905 (renamed yylineo to mylineno)

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

21 years agoCleaned warnings.
sdattalo [Mon, 19 May 2003 13:24:28 +0000 (13:24 +0000)]
Cleaned warnings.

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

21 years agosrc/pic16/pcode.c (pic16_get_op): fixed warning on alpha
bernhardheld [Mon, 19 May 2003 09:42:39 +0000 (09:42 +0000)]
src/pic16/pcode.c (pic16_get_op): fixed warning on alpha

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

21 years agodoc/sdccman.lyx: fixed bug 739745
bernhardheld [Mon, 19 May 2003 09:36:38 +0000 (09:36 +0000)]
doc/sdccman.lyx: fixed bug 739745

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

21 years agoAdded pic16.dsp and pic16a.dsp.
jesusc [Sun, 18 May 2003 20:59:12 +0000 (20:59 +0000)]
Added pic16.dsp and pic16a.dsp.

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

21 years agoRenamed pic.dsp and pica.dsp as pic16 and pic16a.
jesusc [Sun, 18 May 2003 20:58:11 +0000 (20:58 +0000)]
Renamed pic.dsp and pica.dsp as pic16 and pic16a.

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

21 years ago* src/port.h: removed DEFAULT_PORT, it's not yet pic16 ;-)
bernhardheld [Sun, 18 May 2003 20:02:48 +0000 (20:02 +0000)]
* src/port.h: removed DEFAULT_PORT, it's not yet pic16 ;-)
it can be defined with CFLAGS when running configure
* src/SDCCmain.c: fixed compiling + linking with object files

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

21 years agoPIC16 - Applied patch from Vangelis Rokas. Many fixes for the PIC16 port.
sdattalo [Sun, 18 May 2003 18:54:44 +0000 (18:54 +0000)]
PIC16 - Applied patch from Vangelis Rokas. Many fixes for the PIC16 port.
#ifdef's were added to disable some port dependent options.

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

21 years agoremoved obsolete and buggy ARRAYINIT
johanknol [Sun, 18 May 2003 18:36:50 +0000 (18:36 +0000)]
removed obsolete and buggy ARRAYINIT

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

21 years agoMartins sdcdb changes
kbongers [Sat, 17 May 2003 06:27:12 +0000 (06:27 +0000)]
Martins sdcdb changes

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

21 years agoMartins changes
kbongers [Sat, 17 May 2003 06:18:42 +0000 (06:18 +0000)]
Martins changes

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

21 years agosrc/SDCCutil.c: include ctype.h for win32
bernhardheld [Wed, 14 May 2003 08:44:10 +0000 (08:44 +0000)]
src/SDCCutil.c: include ctype.h for win32

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

21 years agodevice/lib/_strtok.c: fixed bug #734355 by Lenny Story and Tim Woodall
bernhardheld [Wed, 14 May 2003 08:30:35 +0000 (08:30 +0000)]
device/lib/_strtok.c: fixed bug #734355 by Lenny Story and Tim Woodall

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

21 years agosrc/pic16/*: removed CR from many files, reported by Vangelis Rokas
bernhardheld [Tue, 13 May 2003 20:26:31 +0000 (20:26 +0000)]
src/pic16/*: removed CR from many files, reported by Vangelis Rokas

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

21 years agosdcdb changes
kbongers [Mon, 12 May 2003 21:54:01 +0000 (21:54 +0000)]
sdcdb changes

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

21 years agoMartins patches
kbongers [Mon, 12 May 2003 21:48:01 +0000 (21:48 +0000)]
Martins patches

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

21 years ago* src/SDCCmain.c: fixed the problem with searching the DATADIR as the last resort...
borutr [Mon, 12 May 2003 19:30:32 +0000 (19:30 +0000)]
* src/SDCCmain.c: fixed the problem with searching the DATADIR as the last resort on *nix

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

21 years agofixed the problem with searching the DATADIR as the last resort on *nix
borutr [Mon, 12 May 2003 19:28:33 +0000 (19:28 +0000)]
fixed the problem with searching the DATADIR as the last resort on *nix

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

21 years agoWIN32 version of getBinPath() calls GetModuleFileName() to determine
borutr [Sun, 11 May 2003 13:11:44 +0000 (13:11 +0000)]
WIN32 version of getBinPath() calls GetModuleFileName() to determine
the path of bin directory, so that PATH is the only env. variable,
which has to be set  in case of standard installation;
added --print-search-dirs command line option

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

21 years agoadded --print-search-dirs command line option
borutr [Sun, 11 May 2003 13:10:43 +0000 (13:10 +0000)]
added --print-search-dirs command line option

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

21 years agoadd quotes to file name parameters for gplink and gpasm
borutr [Sun, 11 May 2003 13:10:03 +0000 (13:10 +0000)]
add quotes to file name parameters for gplink and gpasm

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

21 years agoincreased value of /Zm option to 1000
borutr [Sun, 11 May 2003 13:09:37 +0000 (13:09 +0000)]
increased value of /Zm option to 1000

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

21 years agoWIN32 version of getBinPath() calls GetModuleFileName() to determine
borutr [Sun, 11 May 2003 13:09:00 +0000 (13:09 +0000)]
WIN32 version of getBinPath() calls GetModuleFileName() to determine
the path of bin directory, so that PATH is the only env. variable,
which has to be set

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

21 years ago* src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
bernhardheld [Sat, 10 May 2003 22:41:53 +0000 (22:41 +0000)]
* src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
* support/regression/Makefile: inter-port-clean is no longer nesessary, the
temp files are in the port dir; clean the gen/test directory when
generating new test.c
* support/regression/ports/host/spec.mk: defined OBJEXT for target clean
* support/regression/tests/vaargs.c: fixed gcc 3.3 warning
* support/regression/tests/zeropad.c: added

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

21 years agofixed bug #585125
johanknol [Sat, 10 May 2003 13:44:38 +0000 (13:44 +0000)]
fixed bug #585125

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

21 years agofixed bug #597940
johanknol [Fri, 9 May 2003 13:39:53 +0000 (13:39 +0000)]
fixed bug #597940

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

21 years agofixed bug #597940
johanknol [Fri, 9 May 2003 12:29:37 +0000 (12:29 +0000)]
fixed bug #597940

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

21 years agoremoved obsolete --stack-after-data
johanknol [Fri, 9 May 2003 08:33:45 +0000 (08:33 +0000)]
removed obsolete --stack-after-data

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

21 years agofixed bug #734169
johanknol [Thu, 8 May 2003 12:55:22 +0000 (12:55 +0000)]
fixed bug #734169

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

21 years agoMartins changes for ddd
kbongers [Tue, 6 May 2003 20:52:46 +0000 (20:52 +0000)]
Martins changes for ddd

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

21 years agoMartins ddd/sdcdb changes
kbongers [Tue, 6 May 2003 04:02:02 +0000 (04:02 +0000)]
Martins ddd/sdcdb changes

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

21 years agoMartins fix for sdcdb
kbongers [Tue, 6 May 2003 03:50:21 +0000 (03:50 +0000)]
Martins fix for sdcdb

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

21 years agochanges from Martin
kbongers [Tue, 6 May 2003 03:45:41 +0000 (03:45 +0000)]
changes from Martin

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

21 years ago* support/regression/HTMLgen.py: added compare_s2f()
bernhardheld [Sun, 4 May 2003 08:46:12 +0000 (08:46 +0000)]
* support/regression/HTMLgen.py: added compare_s2f()
* support/regression/Makefile: redo 1.27
* support/regression/generate-cases.py: redo 1.5

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

21 years agofix --disable-ds400
kvigor [Fri, 2 May 2003 15:02:19 +0000 (15:02 +0000)]
fix --disable-ds400

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

21 years agojust 64 bit alpha has the worst float precision
bernhardheld [Thu, 1 May 2003 12:54:17 +0000 (12:54 +0000)]
just 64 bit alpha has the worst float precision

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

21 years agosupport/regression/tests/simplefloat.c: fix division for host
bernhardheld [Wed, 30 Apr 2003 19:56:08 +0000 (19:56 +0000)]
support/regression/tests/simplefloat.c: fix division for host

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

21 years agosupport/regression/tests/float.c: workaround 33 bit hex constant
bernhardheld [Wed, 30 Apr 2003 19:12:47 +0000 (19:12 +0000)]
support/regression/tests/float.c: workaround 33 bit hex constant

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

21 years agoPatch from Jim Hawkridge that prevents stack registers from being optimized away.
sdattalo [Wed, 30 Apr 2003 04:44:04 +0000 (04:44 +0000)]
Patch from Jim Hawkridge that prevents stack registers from being optimized away.

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

21 years agoIncrement max memory alloc for MSVC using /Zm600
jesusc [Tue, 29 Apr 2003 23:45:22 +0000 (23:45 +0000)]
Increment max memory alloc for MSVC using /Zm600

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

21 years agoz80 linker build using MSVC
jesusc [Tue, 29 Apr 2003 22:53:33 +0000 (22:53 +0000)]
z80 linker build using MSVC

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

21 years agoDS80C400 support, the beginning
kvigor [Tue, 29 Apr 2003 22:47:39 +0000 (22:47 +0000)]
DS80C400 support, the beginning

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

21 years agoMartins ddd changes
kbongers [Mon, 28 Apr 2003 18:14:28 +0000 (18:14 +0000)]
Martins ddd changes

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

21 years agoMartins ddd changes
kbongers [Mon, 28 Apr 2003 17:54:02 +0000 (17:54 +0000)]
Martins ddd changes

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

21 years agoAdded a new peep rule to handle carry logic (optimizes src/regression/nestfor.c).
sdattalo [Mon, 28 Apr 2003 14:34:27 +0000 (14:34 +0000)]
Added a new peep rule to handle carry logic (optimizes src/regression/nestfor.c).
PIC peep hole optimizer now handles non-wildcard asmops.
Removed extraneous debug printfs

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

21 years agodebugger/mcs51/cmd.c: added header newalloc.h
bernhardheld [Mon, 28 Apr 2003 11:03:03 +0000 (11:03 +0000)]
debugger/mcs51/cmd.c: added header newalloc.h

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

21 years ago* src/pic/glue.c (pic14emitRegularMap): fixed warning
bernhardheld [Sat, 26 Apr 2003 21:18:04 +0000 (21:18 +0000)]
* src/pic/glue.c (pic14emitRegularMap): fixed warning

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

21 years ago* as/Makefile: new EXEEXT
bernhardheld [Sat, 26 Apr 2003 20:58:14 +0000 (20:58 +0000)]
* as/Makefile: new EXEEXT
* as/z80/Makefile: remove trailing slash of BUILDIR
* as/z80/clean.mk: new EXEEXT
* Makefile.common.in: add to CFLAGS (and others), don't replace it
* support/cpp2/Makefile.in: new EXEEXT

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

21 years agoEXEEXT introduces to solve Cygwin problems
bernhardheld [Thu, 24 Apr 2003 21:06:59 +0000 (21:06 +0000)]
EXEEXT introduces to solve Cygwin problems

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

21 years agoddd fixes
kbongers [Thu, 24 Apr 2003 15:28:37 +0000 (15:28 +0000)]
ddd fixes

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

21 years agosdcdb updates,ddd
kbongers [Thu, 24 Apr 2003 04:53:25 +0000 (04:53 +0000)]
sdcdb updates,ddd

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

21 years ago* as/Makefile: fix target clean
bernhardheld [Wed, 23 Apr 2003 10:05:56 +0000 (10:05 +0000)]
* as/Makefile: fix target clean
* as/clean.mk: fix target clean
* as/z80/clean.mk: fix target clean

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

21 years ago* Makefile.common.in: added @EXEEXT@
bernhardheld [Tue, 22 Apr 2003 20:25:26 +0000 (20:25 +0000)]
* Makefile.common.in: added @EXEEXT@
* configure.in: removed all mingw32 stuff
* configure: rebuilt from configure.in
* doc/sdccman.lyx: updated section "installation"
* support/scripts/sdcc_mingw32: adapted to configure
* support/scripts/sdcc_cygwin_mingw32: added

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

21 years agoPIC port now supports object files. Applied patch from Craig Franklin that started...
sdattalo [Tue, 22 Apr 2003 16:45:42 +0000 (16:45 +0000)]
PIC port now supports object files. Applied patch from Craig Franklin that started the transition to object files. Updated the pic regression tests to support object files.

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

21 years ago* src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
borutr [Sun, 20 Apr 2003 19:44:35 +0000 (19:44 +0000)]
* src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
  with MSVC with global optimization enabled (probably an cl compiler bug ;-)
* support/Util/SDCCerr.c, support/Util/SDCCerr.h: added function fatal(), called from
  stack handling macros

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

21 years agosmall change in stack handling macros, to avoid crash when compiled with
borutr [Sun, 20 Apr 2003 19:43:52 +0000 (19:43 +0000)]
small change in stack handling macros, to avoid crash when compiled with
MSVC with global optimization enabled (probably an cl compiler bug ;-)

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

21 years agoadded function fatal(), called from stack handling macros
borutr [Sun, 20 Apr 2003 19:43:12 +0000 (19:43 +0000)]
added function fatal(), called from stack handling macros

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

21 years ago* sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning
borutr [Sun, 20 Apr 2003 15:57:30 +0000 (15:57 +0000)]
* sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning

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

21 years agomake getfid() more robust and fixed gcc warning
borutr [Sun, 20 Apr 2003 15:56:58 +0000 (15:56 +0000)]
make getfid() more robust and fixed gcc warning

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

21 years agono bitfields yet
johanknol [Sun, 20 Apr 2003 11:52:03 +0000 (11:52 +0000)]
no bitfields yet

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

21 years ago* support/regression/tests/bitfields.c: added Johan's bitfields.c
bernhardheld [Sat, 19 Apr 2003 20:06:17 +0000 (20:06 +0000)]
* support/regression/tests/bitfields.c: added Johan's bitfields.c

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

21 years ago"handling space characters in file path" task
borutr [Sat, 19 Apr 2003 15:25:05 +0000 (15:25 +0000)]
"handling space characters in file path" task

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

21 years agohandling space characters in file path
borutr [Sat, 19 Apr 2003 15:24:39 +0000 (15:24 +0000)]
handling space characters in file path

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

21 years agohandling space characters in executable's path
borutr [Sat, 19 Apr 2003 15:20:49 +0000 (15:20 +0000)]
handling space characters in executable's path

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

21 years agointroduced setDataPaths() function, {datadir} macro (it will be used by assemblers...
borutr [Sat, 19 Apr 2003 15:19:37 +0000 (15:19 +0000)]
introduced setDataPaths() function, {datadir} macro (it will be used by assemblers, which have their own includes, e.g. gpasm)

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

21 years agomake it self-sufficient
borutr [Sat, 19 Apr 2003 15:17:53 +0000 (15:17 +0000)]
make it self-sufficient

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

21 years agodefine par as NULL if parameter value is invalid
borutr [Sat, 19 Apr 2003 15:17:32 +0000 (15:17 +0000)]
define par as NULL if parameter value is invalid

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

21 years agofixed bug in handlig quote at the end of line
borutr [Sat, 19 Apr 2003 15:17:04 +0000 (15:17 +0000)]
fixed bug in handlig quote at the end of line

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

21 years agosim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target...
bernhardheld [Sat, 19 Apr 2003 10:36:06 +0000 (10:36 +0000)]
sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target "all"

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

21 years ago* as/z80/Makefile: fix permanent rebuild of z80
bernhardheld [Sat, 19 Apr 2003 10:06:51 +0000 (10:06 +0000)]
* as/z80/Makefile: fix permanent rebuild of z80

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

21 years agoFix error messages which could cause SEGV on Solaris
kvigor [Fri, 18 Apr 2003 21:17:16 +0000 (21:17 +0000)]
Fix error messages which could cause SEGV on Solaris

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

21 years agooptimization: replace modulo by a power of two with a bitwise AND
kvigor [Fri, 18 Apr 2003 21:03:51 +0000 (21:03 +0000)]
optimization: replace modulo by a power of two with a bitwise AND

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

21 years agofixed bug #635354
johanknol [Fri, 18 Apr 2003 17:57:14 +0000 (17:57 +0000)]
fixed bug #635354

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

21 years agofixed bug #635354
johanknol [Fri, 18 Apr 2003 17:51:11 +0000 (17:51 +0000)]
fixed bug #635354

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

21 years agofixed "bug" #662263
johanknol [Fri, 18 Apr 2003 14:07:25 +0000 (14:07 +0000)]
fixed "bug" #662263

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

21 years agofixed bug #716790 and removes lot's of redundant register usage around function calls
johanknol [Thu, 17 Apr 2003 17:08:36 +0000 (17:08 +0000)]
fixed bug #716790 and removes lot's of redundant register usage around function calls

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