fw/sdcc
20 years agoMSVC gives an error if declaration is after statements
jesusc [Thu, 14 Aug 2003 05:19:07 +0000 (05:19 +0000)]
MSVC gives an error if declaration is after statements

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

20 years agoFixed numerous bitfield problems.
epetrich [Thu, 14 Aug 2003 03:15:23 +0000 (03:15 +0000)]
Fixed numerous bitfield problems.

* src/SDCC.y: More bitfield related error checking
* src/SDCCsymt.h,
* src/SDCCsymt.c (compStructSize): fixed bitfield offset calc
* support/Util/SDCCerr.h,
* support/Util/SDCCerr.c: Added & edited some bitfield err msgs
* src/mcs51/gen.c (genPackBits, genUnpackBits): fixed mask bugs
* src/ds390/gen.c (genPackBits, genUnpackBits): fixed mask bugs
* support/regression/tests/bitfields.c: tests added

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

20 years ago* src/SDCCcse.c (algebraicOpts): fix bug converting op from value to type
bernhardheld [Wed, 13 Aug 2003 20:10:57 +0000 (20:10 +0000)]
* src/SDCCcse.c (algebraicOpts): fix bug converting op from value to type
* src/SDCCicode.c (operandOperation): rewritten some ops (*, ==, unary_minus) to fix possible overflows and to accord with ANSI
* src/SDCCsymt.c (computeType): literals are handled the same way as any other type
* src/SDCCval.c (cheapestVal): removed, it doesn't accord with ANSI (can be re-activated by defining REDUCE_LITERALS)
* src/SDCCval.c (constVal): fixed; hex and octal constants can be unsigned, but are signed by default
* src/SDCCval.c (constVal): rearranged
* src/SDCCval.c (valMod): preliminary fix
* src/SDCCval.c (valCastLiteral): use TYPE_* types
* support/regression/literalop.c: added, work in progress

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

20 years agofixed typo in my last commit
epetrich [Wed, 13 Aug 2003 07:21:53 +0000 (07:21 +0000)]
fixed typo in my last commit

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

20 years agoMade the constant following the "interrupt" keyword optional. If omitted,
epetrich [Wed, 13 Aug 2003 04:53:07 +0000 (04:53 +0000)]
Made the constant following the "interrupt" keyword optional. If omitted,
the function will not automatically be given an entry in the interrupt
vector table (similar to #pragma NOIV, but less syntacticly kludgy). The
interrupt number is also now range checked.

* src/SDCC.y
* src/SDCCmem.c
* src/SDCCglue.c
* src/SDCCsymt.h
* support/Util/SDCCerr.c
* support/Util/SDCCerr.h
* doc/sdccman.lyx

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

20 years agoGenerate warnings for useless declarations like "char data;"
epetrich [Tue, 12 Aug 2003 08:44:47 +0000 (08:44 +0000)]
Generate warnings for useless declarations like "char data;"
that don't do what new users expect.

* src/SDCC.y
* support/Util/SDCCerr.h
* support/Util/SDCCerr.c

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

20 years agosrc/SDCCval.c (valMult): fixex overflow detection of negativ int
bernhardheld [Sat, 9 Aug 2003 17:18:13 +0000 (17:18 +0000)]
src/SDCCval.c (valMult): fixex overflow detection of negativ int

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

20 years agoFixed warnings in MSVC build.
jesusc [Sat, 9 Aug 2003 07:20:14 +0000 (07:20 +0000)]
Fixed warnings in MSVC build.

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

20 years agoChanges to support big endian targets:
epetrich [Fri, 8 Aug 2003 03:52:39 +0000 (03:52 +0000)]
Changes to support big endian targets:

* src/ports.h
* src/SDCCglue.c
* src/avr/main.c
* src/ds390/main.c
* src/izt/i186.c
* src/mcs51/main.c
* src/pic/main.c
* src/pic16/main.c
* src/xa51/main.c
* src/z80/main.c

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

20 years agostale date removed, width of tables, pic16, interrupt section, volatile, link to...
frief [Thu, 7 Aug 2003 22:37:36 +0000 (22:37 +0000)]
stale date removed, width of tables, pic16, interrupt section, volatile, link to flP5, sdcdb is unix-only

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

20 years agosrc/z80/ralloc.c (joinPushes): made compatible with new signedness
epetrich [Thu, 7 Aug 2003 21:05:27 +0000 (21:05 +0000)]
src/z80/ralloc.c (joinPushes): made compatible with new signedness

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

20 years agoBugfix for args regression test failure (from change in how literal signedness is...
epetrich [Thu, 7 Aug 2003 20:59:34 +0000 (20:59 +0000)]
Bugfix for args regression test failure (from change in how literal signedness is handled)

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

20 years ago* src/SDCCval.c (cheapestVal): changed behaviour to the same as constVal()
bernhardheld [Wed, 6 Aug 2003 12:28:56 +0000 (12:28 +0000)]
* src/SDCCval.c (cheapestVal): changed behaviour to the same as constVal()
* device/lib/time.c: fixed warning "integer overflow in expression"

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

20 years ago* src/SDCCast.c (decorateType): fixed gcc3.3 warning
bernhardheld [Tue, 5 Aug 2003 20:21:48 +0000 (20:21 +0000)]
* src/SDCCast.c (decorateType): fixed gcc3.3 warning
* src/SDCCast.c (ast_print): improved output of constants

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

20 years agoFixed some warnings in MSVC build.
jesusc [Tue, 5 Aug 2003 16:43:40 +0000 (16:43 +0000)]
Fixed some warnings in MSVC build.

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

20 years ago* support/Util/SDCCerr.c: added warning "integer overflow in expression"
bernhardheld [Tue, 5 Aug 2003 16:10:37 +0000 (16:10 +0000)]
* support/Util/SDCCerr.c: added warning "integer overflow in expression"
* support/Util/SDCCerr.h: added warning W_INT_OVL

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

20 years ago* support/Util/SDCCerr.c: added warning "integer overflow in expression"
bernhardheld [Tue, 5 Aug 2003 16:01:15 +0000 (16:01 +0000)]
* support/Util/SDCCerr.c: added warning "integer overflow in expression"
* support/Util/SDCCerr.h: added warning W_INT_OVL

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

20 years ago* src/SDCCval.c (cheapestVal, valueFromLit): use TYPE_* types
bernhardheld [Tue, 5 Aug 2003 15:47:45 +0000 (15:47 +0000)]
* src/SDCCval.c (cheapestVal, valueFromLit): use TYPE_* types
* src/SDCCval.c (constVal): changed default to signed; hex and octal constants are unsigned; added recognition of "u" flag for unsigned
* src/SDCCval.c (valMult): fixed signdness, added warning for overflow
* src/SDCCval.c (valDiv, valMod): fixed signdness
* src/SDCCicode.c (operandOperation): fixed critical typo; fixed signedness of modulo, left and right shift

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

20 years agoFixed some warnings when building in MSVC
jesusc [Mon, 4 Aug 2003 17:00:36 +0000 (17:00 +0000)]
Fixed some warnings when building in MSVC

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

20 years agoFixed some warnings when building in MSVC
jesusc [Mon, 4 Aug 2003 16:48:50 +0000 (16:48 +0000)]
Fixed some warnings when building in MSVC

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

20 years agoFixed some warnings when building in MSVC
jesusc [Mon, 4 Aug 2003 16:46:29 +0000 (16:46 +0000)]
Fixed some warnings when building  in MSVC

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

20 years agoremoved --nostdlib as suggested by Jesus
bernhardheld [Sun, 3 Aug 2003 19:58:52 +0000 (19:58 +0000)]
removed --nostdlib as suggested by Jesus

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

20 years agosrc/SDCCast.c (constExprTree): fix bug #781827 by Carl Worth <cworth@isi.edu>
bernhardheld [Sun, 3 Aug 2003 19:45:10 +0000 (19:45 +0000)]
src/SDCCast.c (constExprTree): fix bug #781827 by Carl Worth <cworth@isi.edu>

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

20 years agoredo Frieder's patch
bernhardheld [Sun, 3 Aug 2003 19:21:07 +0000 (19:21 +0000)]
redo Frieder's patch

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

20 years ago'O' record is output correctly now.
jesusc [Sat, 2 Aug 2003 11:58:48 +0000 (11:58 +0000)]
'O' record is output correctly now.

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

20 years agoAdded support\librarian\Makefile
jesusc [Fri, 1 Aug 2003 15:48:46 +0000 (15:48 +0000)]
Added support\librarian\Makefile

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

20 years agoDon't remove .\Makefile
jesusc [Fri, 1 Aug 2003 15:41:04 +0000 (15:41 +0000)]
Don't remove .\Makefile

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

20 years agochmod a+rwx configure configure.in
jesusc [Fri, 1 Aug 2003 09:28:44 +0000 (09:28 +0000)]
chmod a+rwx configure configure.in

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

20 years agoCleaning up mess while trying to build librarian. Added librarian to MSVC build.
jesusc [Fri, 1 Aug 2003 08:49:45 +0000 (08:49 +0000)]
Cleaning up mess while trying to build librarian.  Added librarian to MSVC build.

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

20 years agoAdded librarian to MSVC build.
jesusc [Fri, 1 Aug 2003 08:36:55 +0000 (08:36 +0000)]
Added librarian to MSVC build.

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

20 years agoconfigure not needed for librarian. Makefile is enough.
jesusc [Fri, 1 Aug 2003 08:09:56 +0000 (08:09 +0000)]
configure not needed for librarian.  Makefile is enough.

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

20 years agoconfigure not needed for librarian. Revert to previous version.
jesusc [Fri, 1 Aug 2003 08:04:22 +0000 (08:04 +0000)]
configure not needed for librarian.  Revert to previous version.

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

20 years agoAdding librarian to build
jesusc [Thu, 31 Jul 2003 16:41:02 +0000 (16:41 +0000)]
Adding librarian to build

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

20 years agominor fix: sdcpp language is c99
bernhardheld [Thu, 31 Jul 2003 12:06:05 +0000 (12:06 +0000)]
minor fix: sdcpp language is c99

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

20 years ago3. fix, this time for Alpha; ULONG has 64 bits there, while the mantissa of a double...
bernhardheld [Thu, 31 Jul 2003 10:59:47 +0000 (10:59 +0000)]
3. fix, this time for Alpha; ULONG has 64 bits there, while the mantissa of a double is "only" 53 bits wide

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

20 years agoAdding sdcclib to the build.
jesusc [Thu, 31 Jul 2003 08:10:24 +0000 (08:10 +0000)]
Adding sdcclib to the build.

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

20 years agoBeginning of librarian support added.
jesusc [Thu, 31 Jul 2003 05:18:00 +0000 (05:18 +0000)]
Beginning of librarian support added.

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

20 years agoFirst try to build under Linux
jesusc [Thu, 31 Jul 2003 01:36:33 +0000 (01:36 +0000)]
First try to build under Linux

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

20 years agoOptions --int-long-rent --float-rent --stack-auto are not conflicting
jesusc [Wed, 30 Jul 2003 16:22:15 +0000 (16:22 +0000)]
Options --int-long-rent --float-rent --stack-auto are not conflicting

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

20 years agoLinker complaints if linked modules have conflicting options.
jesusc [Wed, 30 Jul 2003 05:32:48 +0000 (05:32 +0000)]
Linker complaints if linked modules have conflicting options.

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

20 years agoWarning when libfile not found and path is null
jesusc [Mon, 28 Jul 2003 23:19:22 +0000 (23:19 +0000)]
Warning when libfile not found and path is null

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

20 years agoGenerate a warning when a library file is not found.
jesusc [Mon, 28 Jul 2003 21:14:12 +0000 (21:14 +0000)]
Generate a warning when a library file is not found.

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

20 years agosrc/z80/mappings.i: fix _mul[us][int,long] entries
bernhardheld [Mon, 28 Jul 2003 10:09:41 +0000 (10:09 +0000)]
src/z80/mappings.i: fix _mul[us][int,long] entries

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

20 years agofix for *z80
bernhardheld [Sun, 27 Jul 2003 20:07:18 +0000 (20:07 +0000)]
fix for *z80

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

20 years agoDo not search for crt0.o when --nostdlib
jesusc [Sun, 27 Jul 2003 00:13:40 +0000 (00:13 +0000)]
Do not search for crt0.o when --nostdlib

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

20 years agofix test on host
bernhardheld [Sat, 26 Jul 2003 14:46:10 +0000 (14:46 +0000)]
fix test on host

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

20 years agoSolved some issues with cygwin paths again...
jesusc [Fri, 25 Jul 2003 23:12:04 +0000 (23:12 +0000)]
Solved some issues with cygwin paths again...

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

20 years ago* src/SDCCicode.c (operandOperation): really fixed problem with bitops
bernhardheld [Fri, 25 Jul 2003 21:16:39 +0000 (21:16 +0000)]
* src/SDCCicode.c (operandOperation): really fixed problem with bitops
* support/regression/tests/bitopcse.c: added
fixed warning:
* src/avr/gen.c:
* src/pic/gen.c:
* src/pic16/gen.c:
* src/z80/gen.c:
* src/xa51/gen.c:

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

20 years agoAdded execution time functions for win32
jesusc [Fri, 25 Jul 2003 15:38:14 +0000 (15:38 +0000)]
Added execution time functions for win32

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

20 years agoFixed warning when compiling with gcc
jesusc [Fri, 25 Jul 2003 15:37:24 +0000 (15:37 +0000)]
Fixed warning when compiling with gcc

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

20 years agoAdded support for new library format. Old format supported as well.
jesusc [Thu, 24 Jul 2003 16:45:55 +0000 (16:45 +0000)]
Added support for new library format.  Old format supported as well.

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

20 years agouse FSEPX to create filename
jesusc [Thu, 24 Jul 2003 16:37:54 +0000 (16:37 +0000)]
use FSEPX to create filename

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

20 years agosrc/SDCCicode.c (operandOperation): fixed problem with bitops and 0xffffffff
bernhardheld [Thu, 24 Jul 2003 11:17:52 +0000 (11:17 +0000)]
src/SDCCicode.c (operandOperation): fixed problem with bitops and 0xffffffff

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

20 years agofix display of 0xffffffff
bernhardheld [Thu, 24 Jul 2003 09:37:39 +0000 (09:37 +0000)]
fix display of 0xffffffff

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

20 years agoanother small fix
bernhardheld [Thu, 24 Jul 2003 09:36:58 +0000 (09:36 +0000)]
another small fix

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

20 years agoOops
sdcc-builder [Thu, 24 Jul 2003 09:08:44 +0000 (09:08 +0000)]
Oops

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

20 years agoadded DUMMY_READ_VOLATILE:
bernhardheld [Wed, 23 Jul 2003 20:15:49 +0000 (20:15 +0000)]
added DUMMY_READ_VOLATILE:
* src/SDCC.y:
* src/avr/gen.c:
* src/xa51/gen.c:
* src/z80/gen.c:
* src/pic/gen.c:
* src/pic16/gen.c:
* src/mcs51/gen.c:
* src/ds390/gen.c:
* src/SDCCcse.c (algebraicOpts): many improvements
* src/SDCCcse.h: removed algebraicOpts()
* src/SDCCicode.c (picDummyRead): added

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

20 years agoChanged "Insufficient DRAM memory" to "Insufficient space in data memory"
jesusc [Wed, 23 Jul 2003 16:58:02 +0000 (16:58 +0000)]
Changed "Insufficient DRAM memory" to "Insufficient space in data memory"

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

20 years agoFixed bug #759087
epetrich [Mon, 21 Jul 2003 04:48:17 +0000 (04:48 +0000)]
Fixed bug #759087

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

20 years agofixed bug #771358
epetrich [Sun, 20 Jul 2003 14:44:14 +0000 (14:44 +0000)]
fixed bug #771358

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

20 years agosrc/pic16/glue.c: minor cleanup by Vangelis
bernhardheld [Sat, 19 Jul 2003 22:29:05 +0000 (22:29 +0000)]
src/pic16/glue.c: minor cleanup by Vangelis

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

20 years agosrc/mcs51/gen.c(genGenPointerGet/Set): removed writing of type after postincrement
frief [Sat, 19 Jul 2003 21:50:29 +0000 (21:50 +0000)]
src/mcs51/gen.c(genGenPointerGet/Set): removed writing of type after postincrement

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

20 years ago(genGenPointerGet/Set): removed writing of type after postincrement
frief [Sat, 19 Jul 2003 21:48:49 +0000 (21:48 +0000)]
(genGenPointerGet/Set): removed writing of type after postincrement

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

20 years ago* device/lib/_gptrput.c: saved a few bytes
frief [Sat, 19 Jul 2003 20:20:54 +0000 (20:20 +0000)]
* device/lib/_gptrput.c: saved a few bytes
* device/lib/_ser.c: process RX bytes earlier than TX bytes
* device/lib/serial.c: process RX bytes earlier than TX bytes

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

20 years agoprocess RX bytes earlier than TX bytes
frief [Sat, 19 Jul 2003 20:19:02 +0000 (20:19 +0000)]
process RX bytes earlier than TX bytes

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

20 years agosaved a few bytes
frief [Sat, 19 Jul 2003 20:18:03 +0000 (20:18 +0000)]
saved a few bytes

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

20 years agodevice/lib/_gptrget.c: saving some cycles in generic pointer get
frief [Sat, 19 Jul 2003 16:58:21 +0000 (16:58 +0000)]
device/lib/_gptrget.c: saving some cycles in generic pointer get

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

20 years agosaving some cycles in generic pointer get
frief [Sat, 19 Jul 2003 16:55:58 +0000 (16:55 +0000)]
saving some cycles in generic pointer get

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

20 years agodevice/include/regc515c.h: fixed #758477
frief [Sat, 19 Jul 2003 10:33:35 +0000 (10:33 +0000)]
device/include/regc515c.h: fixed #758477

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

20 years agoFixed Bug #758477 duplicate struct member gme_1 in regc515c.h
frief [Sat, 19 Jul 2003 10:27:07 +0000 (10:27 +0000)]
Fixed Bug #758477 duplicate struct member gme_1 in regc515c.h

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

20 years agoFixed bug 772726
epetrich [Fri, 18 Jul 2003 20:33:24 +0000 (20:33 +0000)]
Fixed bug 772726

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

20 years agoz80 library paths may contain '.' now (better fix)
jesusc [Thu, 17 Jul 2003 16:27:40 +0000 (16:27 +0000)]
z80 library paths may contain '.' now (better fix)

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

20 years agoz80 library paths may contain '.' now
jesusc [Thu, 17 Jul 2003 16:10:25 +0000 (16:10 +0000)]
z80 library paths may contain '.' now

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

20 years agofix warning
sdcc-builder [Thu, 17 Jul 2003 13:12:06 +0000 (13:12 +0000)]
fix warning

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

20 years agodevice/lib/Makefile.in: bad fix, reverted to 1.43
sdcc-builder [Thu, 17 Jul 2003 10:41:55 +0000 (10:41 +0000)]
device/lib/Makefile.in: bad fix, reverted to 1.43

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

20 years agodevice/lib/Makefile.in: added missing z80 object files
bernhardheld [Wed, 16 Jul 2003 19:45:03 +0000 (19:45 +0000)]
device/lib/Makefile.in: added missing z80 object files

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

20 years agoFixed some gcc warnings
jesusc [Wed, 16 Jul 2003 16:16:16 +0000 (16:16 +0000)]
Fixed some gcc warnings

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

20 years agosdcc option -Wl-bBSEG=0x08 works now...
jesusc [Tue, 15 Jul 2003 22:38:02 +0000 (22:38 +0000)]
sdcc option -Wl-bBSEG=0x08 works now...

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

20 years ago* src/SDCCcse.c (algebraicOpts): CSE fun with &|^ and 0x00/0xff literals
bernhardheld [Mon, 14 Jul 2003 20:50:48 +0000 (20:50 +0000)]
* src/SDCCcse.c (algebraicOpts): CSE fun with &|^ and 0x00/0xff literals

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

20 years agopic16 progress by Vangelis
bernhardheld [Mon, 14 Jul 2003 19:41:19 +0000 (19:41 +0000)]
pic16 progress by Vangelis

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

20 years agoadded option --no-std-crt0 for the z80 and gbz80 ports
jesusc [Sun, 13 Jul 2003 19:31:19 +0000 (19:31 +0000)]
added option --no-std-crt0 for the z80 and gbz80 ports

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

20 years agoOoops! For the z80 port, crt0.o must be the first file when linking.
jesusc [Sun, 13 Jul 2003 08:45:03 +0000 (08:45 +0000)]
Ooops!  For the z80 port, crt0.o must be the first file when linking.

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

20 years agoCleaned up a litle the z80 and gbz80 ports
jesusc [Sun, 13 Jul 2003 00:37:22 +0000 (00:37 +0000)]
Cleaned up a litle the z80 and gbz80 ports

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

20 years agocleaned up a little the gbz80 and z80 ports
jesusc [Sun, 13 Jul 2003 00:13:19 +0000 (00:13 +0000)]
cleaned up a little the gbz80 and z80 ports

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

20 years agofix bug 769624
kvigor [Fri, 11 Jul 2003 17:36:45 +0000 (17:36 +0000)]
fix bug 769624

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

20 years agoadded compiler option -DSDK
jesusc [Wed, 9 Jul 2003 01:31:47 +0000 (01:31 +0000)]
added compiler option -DSDK

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

20 years agogetst(id, c) was looping forever so changed it as in mcs51 port
jesusc [Mon, 7 Jul 2003 22:22:32 +0000 (22:22 +0000)]
getst(id, c) was looping forever so changed it as in mcs51 port

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

20 years agofclose FILE * != NULL
jesusc [Sun, 6 Jul 2003 22:11:31 +0000 (22:11 +0000)]
fclose FILE * != NULL

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

20 years agoreplaced *index with *libindex so gcc is happy
jesusc [Sun, 6 Jul 2003 19:52:46 +0000 (19:52 +0000)]
replaced *index with *libindex so gcc is happy

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

20 years agoSupport for files created with the sdcc librarian
jesusc [Sun, 6 Jul 2003 19:39:18 +0000 (19:39 +0000)]
Support for files created with the sdcc librarian

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

20 years agoSupport for files created with the sdcc librarian
jesusc [Sun, 6 Jul 2003 19:32:53 +0000 (19:32 +0000)]
Support for files created with the sdcc librarian

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

20 years agoSdcc librarian
jesusc [Sun, 6 Jul 2003 19:31:23 +0000 (19:31 +0000)]
Sdcc librarian

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

20 years agoproperly handle extensions in function afile
jesusc [Thu, 3 Jul 2003 19:21:27 +0000 (19:21 +0000)]
properly handle extensions in function afile

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

20 years agovirtualization of glue() function: each port has it's own glue function,
borutr [Wed, 2 Jul 2003 20:56:07 +0000 (20:56 +0000)]
virtualization of glue() function: each port has it's own glue function,
which is accessed by do_glue function pointer in PORT.general structure

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

20 years agoDS800C400 fun, improved ROM interface and tinibios
kvigor [Tue, 1 Jul 2003 21:12:35 +0000 (21:12 +0000)]
DS800C400 fun, improved ROM interface and tinibios

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

20 years agoMore DS400 support
kvigor [Mon, 30 Jun 2003 21:57:29 +0000 (21:57 +0000)]
More DS400 support

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

20 years agoGet tinibios clock timer interface working on ds400
kvigor [Fri, 27 Jun 2003 22:44:48 +0000 (22:44 +0000)]
Get tinibios clock timer interface working on ds400

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

20 years agoMore support for DS80C400
kvigor [Fri, 27 Jun 2003 20:33:05 +0000 (20:33 +0000)]
More support for DS80C400

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

20 years ago* src/mcs51/gen.c (gencjneshort): fixed bug #760345
bernhardheld [Wed, 25 Jun 2003 19:19:03 +0000 (19:19 +0000)]
* src/mcs51/gen.c (gencjneshort): fixed bug #760345

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

20 years agoIf a procedure is the last on the list, make sure its size is correct
jesusc [Fri, 20 Jun 2003 22:00:53 +0000 (22:00 +0000)]
If a procedure is the last on the list, make sure its size is correct

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