fw/sdcc
23 years agoback to 2.2.2
kvigor [Tue, 21 Nov 2000 17:12:31 +0000 (17:12 +0000)]
back to 2.2.2

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

23 years agoTagging 2.2.2-pre1
kvigor [Tue, 21 Nov 2000 17:08:50 +0000 (17:08 +0000)]
Tagging 2.2.2-pre1

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

23 years agohandle fetch from code space to DPTR
kvigor [Tue, 21 Nov 2000 05:27:00 +0000 (05:27 +0000)]
handle fetch from code space to DPTR

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

23 years agoclean up garbage in last checkin
kvigor [Mon, 20 Nov 2000 23:44:19 +0000 (23:44 +0000)]
clean up garbage in last checkin

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

23 years agowiden array indices to int type before doing other arithmetic
kvigor [Mon, 20 Nov 2000 23:22:55 +0000 (23:22 +0000)]
widen array indices to int type before doing other arithmetic

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

23 years agoremove unneeded constant array
kvigor [Mon, 20 Nov 2000 21:24:47 +0000 (21:24 +0000)]
remove unneeded constant array

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

23 years agoTINI-specific: internal 1-wire access to read unit MAC address
kvigor [Mon, 20 Nov 2000 21:18:06 +0000 (21:18 +0000)]
TINI-specific: internal 1-wire access to read unit MAC address

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

23 years agoDon't propagate the "register" class for structure members
sandeep [Tue, 14 Nov 2000 22:17:56 +0000 (22:17 +0000)]
Don't propagate the "register" class for structure members

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

23 years agomore on bitfields
sandeep [Tue, 14 Nov 2000 18:19:06 +0000 (18:19 +0000)]
more on bitfields

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

23 years agomore bitfield related fixes
sandeep [Tue, 14 Nov 2000 00:56:09 +0000 (00:56 +0000)]
more bitfield related fixes

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

23 years agoFixed some BITFIELD related problems
sandeep [Mon, 13 Nov 2000 22:26:47 +0000 (22:26 +0000)]
Fixed some BITFIELD related problems

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

23 years agoFixed BITFIELD problems
sandeep [Mon, 13 Nov 2000 22:25:52 +0000 (22:25 +0000)]
Fixed BITFIELD problems

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

23 years agoUpdated to version V1.0.4
mschmitt [Sun, 12 Nov 2000 17:42:45 +0000 (17:42 +0000)]
Updated to version V1.0.4

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

23 years agosome -xstack related stuff
sandeep [Sat, 11 Nov 2000 02:13:58 +0000 (02:13 +0000)]
some -xstack related stuff

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

23 years ago Handle . characters in library paths.
stevewilliams [Thu, 9 Nov 2000 19:48:55 +0000 (19:48 +0000)]
 Handle . characters in library paths.

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

23 years ago Type safe newAst, fixes various warnings.
stevewilliams [Thu, 9 Nov 2000 19:47:43 +0000 (19:47 +0000)]
 Type safe newAst, fixes various warnings.

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

23 years ago Get debugger working with --disable-boehm-gc flag
stevewilliams [Thu, 9 Nov 2000 00:58:18 +0000 (00:58 +0000)]
 Get debugger working with --disable-boehm-gc flag

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

23 years ago Get datadir from configure.
stevewilliams [Thu, 9 Nov 2000 00:16:13 +0000 (00:16 +0000)]
 Get datadir from configure.

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

23 years agoV1.0.3 bug fixes and new CPU added
mschmitt [Tue, 7 Nov 2000 19:38:07 +0000 (19:38 +0000)]
V1.0.3 bug fixes and new CPU added

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

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