fw/sdcc
20 years agoadded: _atof.c
jesusc [Sat, 7 Jun 2003 22:46:56 +0000 (22:46 +0000)]
added: _atof.c

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

20 years agoadded atof
jesusc [Sat, 7 Jun 2003 22:22:21 +0000 (22:22 +0000)]
added atof

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

20 years agoReplaced some -- for -\/-
jesusc [Sat, 7 Jun 2003 11:14:29 +0000 (11:14 +0000)]
Replaced some -- for -\/-

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

20 years agoRam spel chekcer ;)
jesusc [Fri, 6 Jun 2003 20:32:30 +0000 (20:32 +0000)]
Ram spel chekcer ;)

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

20 years agoC code is indented in pdf now
jesusc [Fri, 6 Jun 2003 18:08:42 +0000 (18:08 +0000)]
C code is indented in pdf now

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

20 years agoFirst try at C code indentation (section 3.12)
jesusc [Fri, 6 Jun 2003 08:35:27 +0000 (08:35 +0000)]
First try at C code indentation (section 3.12)

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

20 years agoAdded 'sbit at' example. Fixed added rows in table.
jesusc [Fri, 6 Jun 2003 00:39:11 +0000 (00:39 +0000)]
Added 'sbit at' example.  Fixed added rows in table.

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

20 years agoIn section 5.1, it is 80 bytes, not 60
jesusc [Thu, 5 Jun 2003 19:10:27 +0000 (19:10 +0000)]
In section 5.1, it is 80 bytes, not 60

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

20 years agoUpdated section 5.1 "Notes on MCS51 Memory Layout"
jesusc [Thu, 5 Jun 2003 05:26:19 +0000 (05:26 +0000)]
Updated section 5.1 "Notes on MCS51 Memory Layout"

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

20 years ago-bottom_navigation for sdccman.html pages
jesusc [Wed, 4 Jun 2003 21:29:49 +0000 (21:29 +0000)]
-bottom_navigation for sdccman.html pages

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

20 years agoadd Frieder's changes again
bernhardheld [Wed, 4 Jun 2003 20:38:37 +0000 (20:38 +0000)]
add Frieder's changes again

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

20 years ago* doc/sdccman.lyx: updated to Lyx 1.3
bernhardheld [Wed, 4 Jun 2003 20:29:13 +0000 (20:29 +0000)]
* doc/sdccman.lyx: updated to Lyx 1.3
* doc/cdbfileformat.lyx: updated to Lyx 1.3
* doc/test_suite_spec.lyx: updated to Lyx 1.3
* doc/Makefile: added fix for the \tabularnewline problem, thanks to Jesus

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

20 years agosrc/SDCCpeeph.c: separate peepRules2pCode() for pic16 by "Vangelis Rokas" <vrokas...
bernhardheld [Tue, 3 Jun 2003 08:10:48 +0000 (08:10 +0000)]
src/SDCCpeeph.c: separate peepRules2pCode() for pic16 by "Vangelis Rokas" <vrokas@otenet.gr>

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

20 years agocvs revision keywords, passing pdf information in latex preamble, additions...
frief [Mon, 2 Jun 2003 20:49:50 +0000 (20:49 +0000)]
cvs revision keywords, passing pdf information in latex preamble,          additions to the "related tools/documentation" section

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

20 years agooops, not for *nix
bernhardheld [Mon, 2 Jun 2003 11:04:49 +0000 (11:04 +0000)]
oops, not for *nix

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

20 years agosrc/SDCCmain.c (tempfileandname): added check for missing TMP/TEMP/TMPDIR variable
bernhardheld [Mon, 2 Jun 2003 09:22:21 +0000 (09:22 +0000)]
src/SDCCmain.c (tempfileandname): added check for missing TMP/TEMP/TMPDIR variable

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

20 years agoexclude z80 and gbz80
bernhardheld [Sun, 1 Jun 2003 10:05:03 +0000 (10:05 +0000)]
exclude z80 and gbz80

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

20 years agoforgot the return
bernhardheld [Fri, 30 May 2003 00:33:30 +0000 (00:33 +0000)]
forgot the return

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

20 years ago* src/pic/device.c: added 16F819, patch by "David I. Lehn" <dlehn@vt.edu>
bernhardheld [Fri, 30 May 2003 00:28:28 +0000 (00:28 +0000)]
* src/pic/device.c: added 16F819, patch by "David I. Lehn" <dlehn@vt.edu>
* src/SDCCcse.c (algebraicOpts): fixed "c * 1"

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

20 years ago* doc/sdccman.lyx: fix double dash and other minor things
bernhardheld [Wed, 28 May 2003 21:20:23 +0000 (21:20 +0000)]
* doc/sdccman.lyx: fix double dash and other minor things
* doc/Makefile: fix double dash

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

20 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

20 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

20 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

20 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

20 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