fw/sdcc
23 years agoChanged a few Makefiles & Fixed 3 bugs.
sandeep [Sun, 18 Feb 2001 01:07:01 +0000 (01:07 +0000)]
Changed a few Makefiles & Fixed 3 bugs.
a) Constant pointer
b) constant case label
c) scope of variables

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

23 years agoadded stdc time support
johanknol [Sat, 17 Feb 2001 19:56:25 +0000 (19:56 +0000)]
added stdc time support

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

23 years agoFixed the lazy lazy DPTR for genCall and genPtrGet
johanknol [Sat, 17 Feb 2001 19:18:27 +0000 (19:18 +0000)]
Fixed the lazy lazy DPTR for genCall and genPtrGet

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

23 years agoBeautified (indented) compiler source tree
johanknol [Wed, 14 Feb 2001 19:32:19 +0000 (19:32 +0000)]
Beautified (indented) compiler source tree

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

23 years agoBeautified (indented) compiler source according to gnu coding style
johanknol [Wed, 14 Feb 2001 19:12:40 +0000 (19:12 +0000)]
Beautified (indented) compiler source according to gnu coding style

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

23 years agosimplified
johanknol [Tue, 13 Feb 2001 20:19:37 +0000 (20:19 +0000)]
simplified

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

23 years agoHouse cleaning for VC6 host port
jtvolpe [Tue, 13 Feb 2001 04:08:27 +0000 (04:08 +0000)]
House cleaning for VC6 host port

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

23 years ago- Made DefaultExePath work for VC6 also
jtvolpe [Tue, 13 Feb 2001 04:04:18 +0000 (04:04 +0000)]
- Made DefaultExePath work for VC6 also
- Added some host port constants to SDCCglobl.h

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

23 years agoCleanup warnings by adding explicit casts
jtvolpe [Tue, 13 Feb 2001 04:03:12 +0000 (04:03 +0000)]
Cleanup warnings by adding explicit casts

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

23 years agoCorrections for new memory allocation functions
jtvolpe [Tue, 13 Feb 2001 03:59:50 +0000 (03:59 +0000)]
Corrections for new memory allocation functions
Fix No More Memory error in debugger/simulator

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

23 years agoremoved tinibios.h for MODEL-LARGE
johanknol [Mon, 12 Feb 2001 09:11:20 +0000 (09:11 +0000)]
removed tinibios.h for MODEL-LARGE

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

23 years agofixed the missing rtype to ltype cast
johanknol [Sun, 11 Feb 2001 18:23:14 +0000 (18:23 +0000)]
fixed the missing rtype to ltype cast

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

23 years agorenamed muslong.c to mulslong.c to be consistent
johanknol [Fri, 9 Feb 2001 16:39:01 +0000 (16:39 +0000)]
renamed muslong.c to mulslong.c to be consistent

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

23 years agoprevent overflow of XSEG
johanknol [Fri, 9 Feb 2001 14:56:47 +0000 (14:56 +0000)]
prevent overflow of XSEG

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

23 years agoremoved some confusing "Cannot exec whatever: Success" errors
johanknol [Wed, 7 Feb 2001 16:44:04 +0000 (16:44 +0000)]
removed some confusing "Cannot exec whatever: Success" errors

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

23 years agoa first small step to cross the 64k barrier
johanknol [Wed, 7 Feb 2001 16:14:02 +0000 (16:14 +0000)]
a first small step to cross the 64k barrier

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

23 years agoFix asm label generation. Suppress some warning
jbess [Wed, 7 Feb 2001 10:04:15 +0000 (10:04 +0000)]
Fix asm label generation. Suppress some warning

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

23 years agoSuppress some warning
jbess [Wed, 7 Feb 2001 10:01:46 +0000 (10:01 +0000)]
Suppress some warning

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

23 years agoadded tstow.c
johanknol [Wed, 7 Feb 2001 09:59:04 +0000 (09:59 +0000)]
added tstow.c

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

23 years agoFix some path problems
jbess [Wed, 7 Feb 2001 09:56:53 +0000 (09:56 +0000)]
Fix some path problems

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

23 years agoAdded ow390
johanknol [Wed, 7 Feb 2001 08:56:15 +0000 (08:56 +0000)]
Added ow390

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

23 years agoOptimizing array/ptr index calulation. Fix inc/dec float value. Fix garbage with...
jbess [Wed, 7 Feb 2001 08:53:57 +0000 (08:53 +0000)]
Optimizing array/ptr index calulation. Fix inc/dec float value. Fix garbage with previous rev.

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

23 years agoOptimizing array/ptr index calculation. Fix inc/dec float value.
jbess [Wed, 7 Feb 2001 08:24:27 +0000 (08:24 +0000)]
Optimizing array/ptr index calculation. Fix inc/dec float value.

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

23 years agojust an example of what SDCC can do for YOU
johanknol [Tue, 6 Feb 2001 20:37:48 +0000 (20:37 +0000)]
just an example of what SDCC can do for YOU

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

23 years agodeal with relocated SDCCerr.c
kvigor [Tue, 6 Feb 2001 20:15:47 +0000 (20:15 +0000)]
deal with relocated SDCCerr.c

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

23 years agoremove dead code and useless ifdefs; should be a big no-op
kvigor [Tue, 6 Feb 2001 19:34:41 +0000 (19:34 +0000)]
remove dead code and useless ifdefs; should be a big no-op

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

23 years agoif argv[0] contained a path specifier, add that to the front of the search path for...
kvigor [Tue, 6 Feb 2001 18:56:44 +0000 (18:56 +0000)]
if argv[0] contained a path specifier, add that to the front of the search path for my_system()

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

23 years agoSDCCerr.c and SDCCerr.h moved to support/Util
kvigor [Tue, 6 Feb 2001 18:19:00 +0000 (18:19 +0000)]
SDCCerr.c and SDCCerr.h moved to support/Util

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

23 years agoImproved testing for missing required parameters in function calls
kvigor [Tue, 6 Feb 2001 17:52:35 +0000 (17:52 +0000)]
Improved testing for missing required parameters in function calls

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

23 years agoTell us at least the linenumber
johanknol [Tue, 6 Feb 2001 17:22:27 +0000 (17:22 +0000)]
Tell us at least the linenumber

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

23 years agoBeautified. Although recommended, it's not my favourite style
johanknol [Tue, 6 Feb 2001 16:19:43 +0000 (16:19 +0000)]
Beautified. Although recommended, it's not my favourite style

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

23 years agoEliminated the // on block comments from my last commit (JTV)
jtvolpe [Tue, 6 Feb 2001 12:59:38 +0000 (12:59 +0000)]
Eliminated the // on block comments from my last commit (JTV)

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

23 years agoupdated examples for integer promotion in vararg funcs (printf)
johanknol [Tue, 6 Feb 2001 10:49:40 +0000 (10:49 +0000)]
updated examples for integer promotion in vararg funcs (printf)

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

23 years agoChanged Safe_calloc to use 2 arguements to mimic teh standard calloc function
jtvolpe [Tue, 6 Feb 2001 03:07:54 +0000 (03:07 +0000)]
Changed Safe_calloc to use 2 arguements to mimic teh standard calloc function

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

23 years agoundo Johan's changes for the moment
kvigor [Mon, 5 Feb 2001 21:10:33 +0000 (21:10 +0000)]
undo Johan's changes for the moment

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

23 years agooops :)
johanknol [Mon, 5 Feb 2001 20:28:02 +0000 (20:28 +0000)]
oops :)

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

23 years agofixed "too few arguments" for function calls
johanknol [Mon, 5 Feb 2001 20:24:12 +0000 (20:24 +0000)]
fixed "too few arguments" for function calls

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

23 years agoonce again, fixed "too few parameters" for function calls
johanknol [Mon, 5 Feb 2001 20:22:02 +0000 (20:22 +0000)]
once again, fixed "too few parameters" for function calls

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

23 years agoCheck all params to varagrs functions.
kvigor [Mon, 5 Feb 2001 19:08:11 +0000 (19:08 +0000)]
Check all params to varagrs functions.

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

23 years agoremoved unused file
kmh [Mon, 5 Feb 2001 13:15:20 +0000 (13:15 +0000)]
removed unused file

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

23 years agoadded realclean
kmh [Mon, 5 Feb 2001 13:14:03 +0000 (13:14 +0000)]
added realclean

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

23 years agoWrong case on file SDCCerr.c
jtvolpe [Sun, 4 Feb 2001 20:58:58 +0000 (20:58 +0000)]
Wrong case on file SDCCerr.c

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

23 years agoNew memory allocation functions with Linux fixes
jtvolpe [Sun, 4 Feb 2001 20:54:30 +0000 (20:54 +0000)]
New memory allocation functions with Linux fixes

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

23 years agogdb complains about:
johanknol [Sun, 4 Feb 2001 17:17:22 +0000 (17:17 +0000)]
gdb complains about:

// this is a comment \
// and this too.

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

23 years agostrcpy needs strlen+1
johanknol [Sun, 4 Feb 2001 17:11:57 +0000 (17:11 +0000)]
strcpy needs strlen+1

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

23 years agoFixed the hairy inline 'Y' bug in SDCC.y
johanknol [Sun, 4 Feb 2001 17:09:37 +0000 (17:09 +0000)]
Fixed the hairy inline 'Y' bug in SDCC.y

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

23 years agoNew Memory Allocation functions
jtvolpe [Sun, 4 Feb 2001 15:50:58 +0000 (15:50 +0000)]
New Memory Allocation functions

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

23 years agotemporary hack for the inline Y bug
johanknol [Sun, 4 Feb 2001 12:48:38 +0000 (12:48 +0000)]
temporary hack for the inline Y bug

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

23 years agoabort when cpp, as or ld throws an error
johanknol [Sun, 4 Feb 2001 12:45:33 +0000 (12:45 +0000)]
abort when cpp, as or ld throws an error

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

23 years agoremoved obsolete #include "lcd.h"
johanknol [Sun, 4 Feb 2001 11:55:43 +0000 (11:55 +0000)]
removed obsolete #include "lcd.h"

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

23 years agoabort when the assembler throws an error
johanknol [Sat, 3 Feb 2001 19:34:06 +0000 (19:34 +0000)]
abort when the assembler throws an error

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

23 years agoChange ALLOC_ATOMIC in ALLOC
johanknol [Sat, 3 Feb 2001 19:32:34 +0000 (19:32 +0000)]
Change ALLOC_ATOMIC in ALLOC

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

23 years agoas should return an error if one occurs
johanknol [Sat, 3 Feb 2001 19:28:32 +0000 (19:28 +0000)]
as should return an error if one occurs

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

23 years ago Remove all references to the GC library, replacing GC_malloc
stevewilliams [Sat, 3 Feb 2001 00:19:15 +0000 (00:19 +0000)]
 Remove all references to the GC library, replacing GC_malloc
 with calloc. Remove ALLOC_ATOMIC and replace with ALLOC, and
 clean up the Makefile/configure stuff related to libgc.

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

23 years agojust another example
johanknol [Fri, 2 Feb 2001 16:12:03 +0000 (16:12 +0000)]
just another example

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

23 years agoLet's be a little more verbose ...
johanknol [Fri, 2 Feb 2001 16:03:02 +0000 (16:03 +0000)]
Let's be a little more verbose ...

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

23 years agothey need to be in ds390/rtc390
johanknol [Fri, 2 Feb 2001 15:56:10 +0000 (15:56 +0000)]
they need to be in ds390/rtc390

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

23 years agoupdate examples to use tinibios
johanknol [Fri, 2 Feb 2001 15:39:24 +0000 (15:39 +0000)]
update examples to use tinibios

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

23 years agowhy not just make and clean all at once
johanknol [Fri, 2 Feb 2001 15:35:06 +0000 (15:35 +0000)]
why not just make and clean all at once

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

23 years agomoved i2c to tinbios library support
johanknol [Fri, 2 Feb 2001 15:31:44 +0000 (15:31 +0000)]
moved i2c to tinbios library support

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

23 years agomoved lcd to tinibios library support
johanknol [Fri, 2 Feb 2001 15:29:17 +0000 (15:29 +0000)]
moved lcd to tinibios library support

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

23 years agoadded lcd i2c and rtc support for tinibios
johanknol [Fri, 2 Feb 2001 15:20:39 +0000 (15:20 +0000)]
added lcd i2c and rtc support for tinibios

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

23 years agoadding lcd i2c and rtc support for tinibios
johanknol [Fri, 2 Feb 2001 15:19:52 +0000 (15:19 +0000)]
adding lcd i2c and rtc support for tinibios

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

23 years agoinitial import of tinibios
johanknol [Fri, 2 Feb 2001 10:09:57 +0000 (10:09 +0000)]
initial import of tinibios

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

23 years agojust another tini example
johanknol [Fri, 2 Feb 2001 09:49:30 +0000 (09:49 +0000)]
just another tini example

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

23 years agoinitial import of tinibios
johanknol [Fri, 2 Feb 2001 09:47:41 +0000 (09:47 +0000)]
initial import of tinibios

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

23 years agoinitial import of tinibios
johanknol [Fri, 2 Feb 2001 09:36:19 +0000 (09:36 +0000)]
initial import of tinibios

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

23 years agoInitial import of tinibios
johanknol [Fri, 2 Feb 2001 09:31:24 +0000 (09:31 +0000)]
Initial import of tinibios

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

23 years agoAdded pack-flag -p
kmh [Thu, 1 Feb 2001 11:29:42 +0000 (11:29 +0000)]
Added pack-flag -p

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

23 years agoI smoked too much pot lately...
johanknol [Wed, 31 Jan 2001 16:35:30 +0000 (16:35 +0000)]
I smoked too much pot lately...

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

23 years agoTemporary (?) fix for char calculation in int space
johanknol [Wed, 31 Jan 2001 14:43:06 +0000 (14:43 +0000)]
Temporary (?) fix for char calculation in int space

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

23 years agofix AOP_OP_3_NOFATAL
kvigor [Tue, 30 Jan 2001 19:13:44 +0000 (19:13 +0000)]
fix AOP_OP_3_NOFATAL

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

23 years agoI must be smoking crack; removed several debug printfs left on in last commit.
kvigor [Tue, 30 Jan 2001 18:02:51 +0000 (18:02 +0000)]
I must be smoking crack; removed several debug printfs left on in last commit.

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

23 years agoforce aggregate arguments to varargs functions to generic pointers as well.
kvigor [Tue, 30 Jan 2001 17:57:59 +0000 (17:57 +0000)]
force aggregate arguments to varargs functions to generic pointers as well.

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

23 years agowhoops! disabled varargs parameter upcasting by mistake in last commit
kvigor [Tue, 30 Jan 2001 17:36:55 +0000 (17:36 +0000)]
whoops! disabled varargs parameter upcasting by mistake in last commit

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

23 years agoFix Johan's latest finds
kvigor [Mon, 29 Jan 2001 23:32:19 +0000 (23:32 +0000)]
Fix Johan's latest finds

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

23 years agoimproved bit-wise operations with literal RHS
kvigor [Mon, 29 Jan 2001 18:31:44 +0000 (18:31 +0000)]
improved bit-wise operations with literal RHS

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

23 years agoMerge of the izt changes.
michaelh [Sun, 28 Jan 2001 20:07:04 +0000 (20:07 +0000)]
Merge of the izt changes.
Added validation of the port structures at run time.
Tidied up the asm emitter.  Less hacks, works on PPC.

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

23 years agoBegan adding the code generation framework.
michaelh [Sun, 28 Jan 2001 03:12:00 +0000 (03:12 +0000)]
Began adding the code generation framework.

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

23 years agoupcast parameters to varargs functions to int or generic pointers where appropriate
kvigor [Fri, 26 Jan 2001 23:15:41 +0000 (23:15 +0000)]
upcast parameters to varargs functions to int or generic pointers where appropriate

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

23 years agoI'd rather flush the whole fucking (sorry) stdio and rewrite it from scratch
johanknol [Fri, 26 Jan 2001 20:01:32 +0000 (20:01 +0000)]
I'd rather flush the whole fucking (sorry) stdio and rewrite it from scratch

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

23 years agovarious ds390 code generator improvements, including fixing an 'ack!' in genCmpLt
kvigor [Fri, 26 Jan 2001 18:44:00 +0000 (18:44 +0000)]
various ds390 code generator improvements, including fixing an 'ack!' in genCmpLt

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

23 years agofix on-demand integer promotion
kvigor [Fri, 26 Jan 2001 17:07:57 +0000 (17:07 +0000)]
fix on-demand integer promotion

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

23 years agoadd 'on demand' integer promotion
kvigor [Fri, 26 Jan 2001 00:48:26 +0000 (00:48 +0000)]
add 'on demand' integer promotion

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

23 years agoShift integer promotion behavior is controlled by -ansiint option
kvigor [Thu, 25 Jan 2001 21:45:44 +0000 (21:45 +0000)]
Shift integer promotion behavior is controlled by -ansiint option

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

23 years agoAdd support for ANSI integer promotion rules
kvigor [Thu, 25 Jan 2001 20:53:13 +0000 (20:53 +0000)]
Add support for ANSI integer promotion rules

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

23 years agoarray parameters should default to generic pointers
kvigor [Thu, 25 Jan 2001 18:29:58 +0000 (18:29 +0000)]
array parameters should default to generic pointers

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

23 years agofix bogus 'argument type' error with array function parameters
kvigor [Wed, 24 Jan 2001 23:41:46 +0000 (23:41 +0000)]
fix bogus 'argument type' error with array function parameters

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

23 years agopromote operands to shift operations to int
kvigor [Wed, 24 Jan 2001 22:10:09 +0000 (22:10 +0000)]
promote operands to shift operations to int

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

23 years agofixed the storage class checking
kmh [Mon, 22 Jan 2001 12:05:43 +0000 (12:05 +0000)]
fixed the storage class checking

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

23 years agoImported initial.
michaelh [Fri, 19 Jan 2001 04:44:11 +0000 (04:44 +0000)]
Imported initial.

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

23 years agoPIC Port - Indirection works better. instrumented pic/ralloc.c to dump
sdattalo [Wed, 10 Jan 2001 05:55:12 +0000 (05:55 +0000)]
PIC Port - Indirection works better. instrumented pic/ralloc.c to dump
  state info into filename.d

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

23 years agoWhoops! Somehow completely clobbered aslex.c; this is version 1.4 restored
kvigor [Tue, 9 Jan 2001 18:07:58 +0000 (18:07 +0000)]
Whoops! Somehow completely clobbered aslex.c; this is version 1.4 restored

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

23 years agoRename addr_t type to Addr_T to avoid conflict with Cygwin
kvigor [Tue, 9 Jan 2001 18:00:23 +0000 (18:00 +0000)]
Rename addr_t type to Addr_T to avoid conflict with Cygwin

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

23 years agoRename type addr_t to Addr_T to avoid conflict with Cygwin
kvigor [Tue, 9 Jan 2001 16:27:23 +0000 (16:27 +0000)]
Rename type addr_t to Addr_T to avoid conflict with Cygwin

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

23 years agorename addr_t type to Addr-T to avoid conflict with Cygwin environment.
kvigor [Tue, 9 Jan 2001 16:22:27 +0000 (16:22 +0000)]
rename addr_t type to Addr-T to avoid conflict with Cygwin environment.

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

23 years agoInfinite loop in getst
kvigor [Mon, 8 Jan 2001 18:10:51 +0000 (18:10 +0000)]
Infinite loop in getst

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

23 years agounix-flavored builds were b0rken
kvigor [Mon, 8 Jan 2001 17:39:51 +0000 (17:39 +0000)]
unix-flavored builds were b0rken

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

23 years agoAdded design, updated url
michaelh [Sat, 6 Jan 2001 21:03:52 +0000 (21:03 +0000)]
Added design, updated url

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

23 years agoMS VC6 Port
jtvolpe [Thu, 4 Jan 2001 04:11:17 +0000 (04:11 +0000)]
MS VC6 Port

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