fw/sdcc
23 years agoupdated version number to 2.2.2
mschmitt [Tue, 7 Nov 2000 19:35:44 +0000 (19:35 +0000)]
updated version number to 2.2.2

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

23 years ago0.2.38-pre1 implements AVR instructions
drdani [Mon, 6 Nov 2000 08:52:34 +0000 (08:52 +0000)]
0.2.38-pre1 implements AVR instructions

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

23 years agoFixed problem in SDCCalloc.h & fixed problem allocation
sandeep [Sun, 5 Nov 2000 19:54:25 +0000 (19:54 +0000)]
Fixed problem in SDCCalloc.h & fixed problem allocation
problem of static bit variables

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

23 years ago support for memory allocation
stevewilliams [Sun, 5 Nov 2000 17:51:13 +0000 (17:51 +0000)]
 support for memory allocation

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

23 years ago Add support for the --disable-boehm-gc flag for systems that lack -lgc.
stevewilliams [Sat, 4 Nov 2000 18:16:24 +0000 (18:16 +0000)]
 Add support for the --disable-boehm-gc flag for systems that lack -lgc.

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

23 years agosingle register definition file - V1.0.1
mschmitt [Fri, 3 Nov 2000 19:18:32 +0000 (19:18 +0000)]
single register definition file - V1.0.1

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

23 years agoSome more AVR intermediate commit
sandeep [Mon, 30 Oct 2000 02:23:36 +0000 (02:23 +0000)]
Some more AVR intermediate commit

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

23 years agofixed a push/pop problem
sandeep [Sat, 21 Oct 2000 21:52:14 +0000 (21:52 +0000)]
fixed a push/pop problem

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

23 years agoFixed a parameter declaration regression
sandeep [Sat, 21 Oct 2000 21:17:47 +0000 (21:17 +0000)]
Fixed a parameter declaration regression

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

23 years agofixed a parameter declaration regression
sandeep [Sat, 21 Oct 2000 21:17:20 +0000 (21:17 +0000)]
fixed a parameter declaration regression

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

23 years agofixed operator precedance bug
johanknol [Fri, 20 Oct 2000 09:23:33 +0000 (09:23 +0000)]
fixed operator precedance bug

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

23 years agoremoved a internal debugging target
johanknol [Thu, 19 Oct 2000 21:10:52 +0000 (21:10 +0000)]
removed a internal debugging target

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

23 years agoupgrade ds1621 to report fp temp's
johanknol [Thu, 19 Oct 2000 21:00:42 +0000 (21:00 +0000)]
upgrade ds1621 to report fp temp's

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

23 years agodisable packRegsForOneuse until I can make it safe
kvigor [Wed, 18 Oct 2000 17:59:01 +0000 (17:59 +0000)]
disable packRegsForOneuse until I can make it safe

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

23 years agoMinor optimization: don't sign-extend when casting from bit to int type, since a...
kvigor [Tue, 17 Oct 2000 22:44:52 +0000 (22:44 +0000)]
Minor optimization: don't sign-extend when casting from bit to int type, since a bit variable can't possible set the sign bit in a byte.

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

23 years agoRemove Windows NT flavored predefined symbols
kvigor [Tue, 17 Oct 2000 18:03:29 +0000 (18:03 +0000)]
Remove Windows NT flavored predefined symbols

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

23 years agofixed assemblers & linker: now works with CygWin's option
vav [Tue, 17 Oct 2000 14:44:52 +0000 (14:44 +0000)]
fixed assemblers & linker: now works with CygWin's option
Default Text File Type = Unix

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

23 years ago *typo fix in packihx.c
vav [Tue, 17 Oct 2000 09:16:26 +0000 (09:16 +0000)]
*typo fix in packihx.c

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

23 years ago *fixed problem with non-existent error messages about short jumps
vav [Tue, 17 Oct 2000 09:13:24 +0000 (09:13 +0000)]
*fixed problem with non-existent error messages about short jumps
in assembler
*assembler return code is sane now

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

23 years agoavoid malloc(0)
kvigor [Tue, 17 Oct 2000 06:08:19 +0000 (06:08 +0000)]
avoid malloc(0)

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

23 years agoAdd support for packihx to Borland makefiles
kvigor [Tue, 17 Oct 2000 04:03:24 +0000 (04:03 +0000)]
Add support for packihx to Borland makefiles

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

23 years agoRemove old perl version of packihx
kvigor [Mon, 16 Oct 2000 23:54:42 +0000 (23:54 +0000)]
Remove old perl version of packihx

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

23 years agoReplace Perl version of packihx with C version
kvigor [Mon, 16 Oct 2000 23:48:41 +0000 (23:48 +0000)]
Replace Perl version of packihx with C version

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

23 years agoRewrite packihx in C (for platforms without Perl handily available)
kvigor [Mon, 16 Oct 2000 22:32:41 +0000 (22:32 +0000)]
Rewrite packihx in C (for platforms without Perl handily available)

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

23 years ago*** empty log message ***
skenton [Sun, 15 Oct 2000 01:52:07 +0000 (01:52 +0000)]
*** empty log message ***

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

23 years agofixed a loop invariant bug
sandeep [Sat, 14 Oct 2000 20:08:58 +0000 (20:08 +0000)]
fixed a loop invariant bug

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

23 years agoFixed a loop invariant bug & a casting bug
sandeep [Sat, 14 Oct 2000 20:08:39 +0000 (20:08 +0000)]
Fixed a loop invariant bug & a casting bug

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

23 years agoEnable unused parameter fix
kvigor [Sat, 14 Oct 2000 17:18:43 +0000 (17:18 +0000)]
Enable unused parameter fix

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

23 years agofix unused parameter receive bug (fix ifdef'd out right now)
kvigor [Fri, 13 Oct 2000 21:07:32 +0000 (21:07 +0000)]
fix unused parameter receive bug (fix ifdef'd out right now)

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

23 years agoFix of v__printf prototypes
drdani [Thu, 12 Oct 2000 10:32:38 +0000 (10:32 +0000)]
Fix of v__printf prototypes

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

23 years agoRemove bogus semicolon
kvigor [Wed, 11 Oct 2000 22:48:59 +0000 (22:48 +0000)]
Remove bogus semicolon

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

23 years agoMoved and unpacked examples to sdcc/device/examples/ds390
johanknol [Wed, 11 Oct 2000 08:44:46 +0000 (08:44 +0000)]
Moved and unpacked examples to sdcc/device/examples/ds390

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

23 years agoMoved and unpacked examples to sdcc/device/examples/ds390
johanknol [Wed, 11 Oct 2000 08:33:46 +0000 (08:33 +0000)]
Moved and unpacked examples to sdcc/device/examples/ds390

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

23 years agoOne more BCC fix
kvigor [Tue, 10 Oct 2000 04:28:00 +0000 (04:28 +0000)]
One more BCC fix

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

23 years agoGet Borland C++ build working yet again
kvigor [Tue, 10 Oct 2000 04:25:36 +0000 (04:25 +0000)]
Get Borland C++ build working yet again

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

23 years agoanother AVR
sandeep [Mon, 9 Oct 2000 01:07:28 +0000 (01:07 +0000)]
another AVR

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

23 years agointermediate commit for AVR
sandeep [Sun, 8 Oct 2000 18:52:49 +0000 (18:52 +0000)]
intermediate commit for AVR

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

23 years agoIntermediate commit for AVR
sandeep [Sun, 8 Oct 2000 18:52:26 +0000 (18:52 +0000)]
Intermediate commit for AVR

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

23 years agoYet another intermediate commit
sandeep [Sun, 8 Oct 2000 00:37:04 +0000 (00:37 +0000)]
Yet another intermediate commit

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

23 years agofixuptypes fixed
sandeep [Sat, 7 Oct 2000 22:07:44 +0000 (22:07 +0000)]
fixuptypes fixed

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

23 years agoAnother intermediate commit for AVR
sandeep [Sat, 7 Oct 2000 20:36:44 +0000 (20:36 +0000)]
Another intermediate commit for AVR

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

23 years agoForce function prototypes to default to extern storage class
kvigor [Fri, 6 Oct 2000 20:00:28 +0000 (20:00 +0000)]
Force function prototypes to default to extern storage class

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

23 years agodocument a few more options
kvigor [Wed, 4 Oct 2000 23:09:32 +0000 (23:09 +0000)]
document a few more options

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

23 years agoundo unistd.h; restores Cygwin & BC++ functionality
kvigor [Tue, 3 Oct 2000 05:52:14 +0000 (05:52 +0000)]
undo unistd.h; restores Cygwin & BC++ functionality

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

23 years agoreplace /usr/local/bin/perl shebang with ugly but hopefully more portable construct
kvigor [Mon, 2 Oct 2000 23:39:22 +0000 (23:39 +0000)]
replace /usr/local/bin/perl shebang with ugly but hopefully more portable construct

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

23 years agominor cleanup: rename link() to link_main() to avoid conflict with unistd.h; #include...
kvigor [Mon, 2 Oct 2000 19:33:44 +0000 (19:33 +0000)]
minor cleanup: rename link() to link_main() to avoid conflict with unistd.h; #include unistd.h to get proto for unlink()

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

23 years agoFix of INSTALL problem on cygwin
drdani [Mon, 2 Oct 2000 06:11:59 +0000 (06:11 +0000)]
Fix of INSTALL problem on cygwin

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

23 years agoChanged confusing comment
johanknol [Sun, 1 Oct 2000 13:02:50 +0000 (13:02 +0000)]
Changed confusing comment

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

23 years agoremove -Werror again for less stable systems
johanknol [Sun, 1 Oct 2000 08:35:29 +0000 (08:35 +0000)]
remove -Werror again for less stable systems

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

23 years agosome more avr intermediate stuff
sandeep [Sun, 1 Oct 2000 04:10:22 +0000 (04:10 +0000)]
some more avr intermediate stuff

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

23 years agoadded conditional transformation
sandeep [Sun, 1 Oct 2000 02:04:05 +0000 (02:04 +0000)]
added conditional transformation

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

23 years ago /* added condition transformations */
sandeep [Sun, 1 Oct 2000 02:02:40 +0000 (02:02 +0000)]
/* added  condition transformations */
    bool lt_nge ;     /* transform (a < b)  to !(a >= b)  */
    bool gt_nle ;     /* transform (a > b)  to !(a <= b)  */
    bool le_ngt ;     /* transform (a <= b) to !(a > b)   */
    bool ge_nlt ;     /* transform (a >= b) to !(a < b)   */
    bool ne_neq ;     /* transform a != b --> ! (a == b)  */
    bool eq_nne ;     /* transform a == b --> ! (a != b)  */

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

23 years agore-introduce required file
kvigor [Sat, 30 Sep 2000 21:42:56 +0000 (21:42 +0000)]
re-introduce required file

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

23 years agoat absolute address can be an expression . This increases the
sandeep [Sat, 30 Sep 2000 21:41:49 +0000 (21:41 +0000)]
at absolute address can be an expression . This increases the
shift reduce conflicts (but that's okay)

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

23 years agowhen adding to pointer, cast right side to int if
sandeep [Sat, 30 Sep 2000 21:38:12 +0000 (21:38 +0000)]
when adding to pointer, cast right side to int if
pointer size > 1

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

23 years agoInsist on bison: yacc isn't good enough
kvigor [Sat, 30 Sep 2000 21:37:32 +0000 (21:37 +0000)]
Insist on bison: yacc isn't good enough

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

23 years agoDPTR abuse by 182a fixed by adding 182b
kvigor [Sat, 30 Sep 2000 20:47:24 +0000 (20:47 +0000)]
DPTR abuse by 182a fixed by adding 182b

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

23 years agoobsolete
johanknol [Sat, 30 Sep 2000 19:55:30 +0000 (19:55 +0000)]
obsolete

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

23 years agocleanup; moved extern's from .c to .h files for double check
johanknol [Sat, 30 Sep 2000 19:39:35 +0000 (19:39 +0000)]
cleanup; moved extern's from .c to .h files for double check

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

23 years agocleaning; moved all extern's from .c to .h files for double check
johanknol [Sat, 30 Sep 2000 19:24:13 +0000 (19:24 +0000)]
cleaning; moved all extern's from .c to .h files for double check

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

23 years agoJust another DPS peephole
kvigor [Sat, 30 Sep 2000 18:27:41 +0000 (18:27 +0000)]
Just another DPS peephole

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

23 years agoAVR Intermediate commit
sandeep [Sat, 30 Sep 2000 16:57:19 +0000 (16:57 +0000)]
AVR Intermediate commit

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

23 years agoFixed up for AVR should not prefer globals
sandeep [Sat, 30 Sep 2000 16:56:46 +0000 (16:56 +0000)]
Fixed up for AVR should not prefer globals
in FAR_SPACE (even if direct space) over temps

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

23 years agoFixed array derefs
sandeep [Sat, 30 Sep 2000 16:55:32 +0000 (16:55 +0000)]
Fixed array derefs

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

23 years agotest for accept() size paramater type
kvigor [Fri, 29 Sep 2000 19:59:12 +0000 (19:59 +0000)]
test for accept() size paramater type

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

23 years agoCan't we skip this?
johanknol [Fri, 29 Sep 2000 19:10:26 +0000 (19:10 +0000)]
Can't we skip this?

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

23 years agoreplace obsolete prototypes with stdlib.h
kvigor [Fri, 29 Sep 2000 17:06:23 +0000 (17:06 +0000)]
replace obsolete prototypes with stdlib.h

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

23 years agouse $(MAKE) instead of make
kvigor [Fri, 29 Sep 2000 17:02:53 +0000 (17:02 +0000)]
use $(MAKE) instead of make

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

23 years agoAdd HAVE_STRERROR
kvigor [Fri, 29 Sep 2000 16:50:10 +0000 (16:50 +0000)]
Add HAVE_STRERROR

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

23 years agoemitcodePointerGet was badly broken
kvigor [Fri, 29 Sep 2000 16:19:08 +0000 (16:19 +0000)]
emitcodePointerGet was badly broken

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

23 years agofinally enable all those work-in-progress optimizations; fix bug in literal load...
kvigor [Fri, 29 Sep 2000 05:14:33 +0000 (05:14 +0000)]
finally enable all those work-in-progress optimizations; fix bug in literal load code

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

23 years agoanother lazy DPS evaluation bug squished
kvigor [Fri, 29 Sep 2000 04:30:38 +0000 (04:30 +0000)]
another lazy DPS evaluation bug squished

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

23 years agolast optimizations: genPlus was too eager to use alternate DPTR, clean up function...
kvigor [Thu, 28 Sep 2000 22:24:20 +0000 (22:24 +0000)]
last optimizations: genPlus was too eager to use alternate DPTR, clean up function result gathering

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

23 years agowork in progress: bug in lazy DPS evaluation fixed
kvigor [Thu, 28 Sep 2000 20:00:37 +0000 (20:00 +0000)]
work in progress: bug in lazy DPS evaluation fixed

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

23 years agomoved auto var's to XSEG for large model
johanknol [Thu, 28 Sep 2000 11:23:55 +0000 (11:23 +0000)]
moved auto var's to XSEG for large model
added NULL string checking for ds390

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

23 years agoyet more work in progress: FarFarAssign optimizations
kvigor [Thu, 28 Sep 2000 00:15:02 +0000 (00:15 +0000)]
yet more work in progress: FarFarAssign optimizations

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

23 years agowork in progress: several improvements to generated code
kvigor [Wed, 27 Sep 2000 22:59:06 +0000 (22:59 +0000)]
work in progress: several improvements to generated code

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

23 years agoMake user-specified -I and -L options take precedence
kvigor [Wed, 27 Sep 2000 19:31:18 +0000 (19:31 +0000)]
Make user-specified -I and -L options take precedence

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

23 years agocheck for fatal errors after glue()
kvigor [Wed, 27 Sep 2000 17:48:20 +0000 (17:48 +0000)]
check for fatal errors after glue()

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

23 years agowork in progress: clean up DPS abuse
kvigor [Tue, 26 Sep 2000 23:45:03 +0000 (23:45 +0000)]
work in progress: clean up DPS abuse

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

23 years agoUse only 3 bytes of generic pointers in comparisons
kvigor [Tue, 26 Sep 2000 20:19:22 +0000 (20:19 +0000)]
Use only 3 bytes of generic pointers in comparisons

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

23 years agoFIx initialization of pointers in code space for DS390
kvigor [Sun, 24 Sep 2000 06:12:43 +0000 (06:12 +0000)]
FIx initialization of pointers in code space for DS390

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

23 years agoAdd warning for using --model-flat24
kvigor [Sun, 24 Sep 2000 05:19:19 +0000 (05:19 +0000)]
Add warning for using --model-flat24

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

23 years agoremove mcs51 flat24 libraries
kvigor [Sun, 24 Sep 2000 05:18:24 +0000 (05:18 +0000)]
remove mcs51 flat24 libraries

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

23 years agoAdd memcpyx for DS390 port
kvigor [Sun, 24 Sep 2000 05:17:11 +0000 (05:17 +0000)]
Add memcpyx for DS390 port

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

23 years agoYet another reg alloc bug uncovered by ds390
sandeep [Sat, 23 Sep 2000 17:58:53 +0000 (17:58 +0000)]
Yet another reg alloc bug uncovered by ds390

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

23 years agoMake _decdptr work properly for either DPTR on DS390
kvigor [Sat, 23 Sep 2000 05:36:04 +0000 (05:36 +0000)]
Make _decdptr work properly for either DPTR on DS390

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

23 years agoAdd labelRefCount constraints to many peephole rules
kvigor [Thu, 21 Sep 2000 21:48:28 +0000 (21:48 +0000)]
Add labelRefCount constraints to many peephole rules

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

23 years agoanother possible impedance mismatch in genPlus/genMinus
kvigor [Thu, 21 Sep 2000 21:17:41 +0000 (21:17 +0000)]
another possible impedance mismatch in genPlus/genMinus

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

23 years agoAdd labelRefCount constraint for peephole rules.
kvigor [Thu, 21 Sep 2000 20:31:50 +0000 (20:31 +0000)]
Add labelRefCount constraint for peephole rules.

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

23 years agoFix for windows to install s51.exe, not just s51
drdani [Thu, 21 Sep 2000 09:36:24 +0000 (09:36 +0000)]
Fix for windows to install s51.exe, not just s51

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

23 years agoNew version: 0.2.37 it fixes socklen_t, third param of accept(), and do not compile...
drdani [Thu, 21 Sep 2000 07:10:36 +0000 (07:10 +0000)]
New version: 0.2.37 it fixes socklen_t, third param of accept(), and do not compile gui part at all

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

23 years agounnecessary file made by the compiler (debugger?)
drdani [Thu, 21 Sep 2000 07:02:11 +0000 (07:02 +0000)]
unnecessary file made by the compiler (debugger?)

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

23 years agoRemove debug option (-c) from default assembler options
kvigor [Wed, 20 Sep 2000 22:47:32 +0000 (22:47 +0000)]
Remove debug option (-c) from default assembler options

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

23 years agoreplace bubble sorts (believe it or not) with qsort calls
kvigor [Wed, 20 Sep 2000 22:13:21 +0000 (22:13 +0000)]
replace bubble sorts (believe it or not) with qsort calls

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

23 years agorealized last bug impacted genPlus as well
kvigor [Wed, 20 Sep 2000 20:38:23 +0000 (20:38 +0000)]
realized last bug impacted genPlus as well

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

23 years agofix genMinus aopPut out-of-range bug
kvigor [Wed, 20 Sep 2000 20:33:44 +0000 (20:33 +0000)]
fix genMinus aopPut out-of-range bug

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

23 years agomake integer -> generic pointer casts default to XDATA and throw a awrning
kvigor [Wed, 20 Sep 2000 19:33:03 +0000 (19:33 +0000)]
make integer -> generic pointer casts default to XDATA and throw a awrning

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

23 years agominor fix for duplicate getchar function
mschmitt [Wed, 20 Sep 2000 19:11:17 +0000 (19:11 +0000)]
minor fix for duplicate getchar function

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

23 years agouncomment warnings for relative jumps out of range
kvigor [Wed, 20 Sep 2000 04:39:27 +0000 (04:39 +0000)]
uncomment warnings for relative jumps out of range

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