fw/sdcc
24 years agoMerged changes between gbdk-293 and main
michaelh [Sat, 8 Apr 2000 01:10:50 +0000 (01:10 +0000)]
Merged changes between gbdk-293 and main

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

24 years ago* Fixed up multi bank support
michaelh [Thu, 6 Apr 2000 04:12:09 +0000 (04:12 +0000)]
* Fixed up multi bank support
* Changed initMem to happen later to allow name changes to come through

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

24 years agoFor gbdk-2.94. Seems to work.
michaelh [Wed, 5 Apr 2000 03:45:42 +0000 (03:45 +0000)]
For gbdk-2.94.  Seems to work.

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

24 years agoMerged in multiple assemblers port.
michaelh [Wed, 5 Apr 2000 01:33:04 +0000 (01:33 +0000)]
Merged in multiple assemblers port.

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

24 years ago* All types of stuff to support different assemblers.
michaelh [Wed, 5 Apr 2000 01:31:45 +0000 (01:31 +0000)]
* All types of stuff to support different assemblers.
* Added seperate areadata for rgbasm
* Split off mappings, added default asxxxx mapping.

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

24 years agoAdded tokens. Can now target rgbds
michaelh [Mon, 3 Apr 2000 05:38:08 +0000 (05:38 +0000)]
Added tokens.  Can now target rgbds

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

24 years agoPre making the rgbds branch
michaelh [Fri, 31 Mar 2000 05:01:43 +0000 (05:01 +0000)]
Pre making the rgbds branch

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

24 years agoFixed a character pointer bug
michaelh [Thu, 30 Mar 2000 05:53:44 +0000 (05:53 +0000)]
Fixed a character pointer bug
Amalgimated some .db x,x into dw's
Implemented rsh
Implemented returns of longs on GB.

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

24 years agofix for makefile
mschmitt [Tue, 28 Mar 2000 20:25:20 +0000 (20:25 +0000)]
fix for makefile

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

24 years agoparameter processing fixed
kmh [Mon, 27 Mar 2000 20:03:49 +0000 (20:03 +0000)]
parameter processing fixed

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

24 years agoMade debugging optional.
michaelh [Mon, 27 Mar 2000 02:06:59 +0000 (02:06 +0000)]
Made debugging optional.

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

24 years agoadded documentation for --model-flat24
sandeep [Sun, 26 Mar 2000 20:58:47 +0000 (20:58 +0000)]
added documentation for --model-flat24

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

24 years agoMade it build better
michaelh [Sun, 26 Mar 2000 07:49:03 +0000 (07:49 +0000)]
Made it build better

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

24 years agoMade it build better
michaelh [Sun, 26 Mar 2000 07:47:50 +0000 (07:47 +0000)]
Made it build better

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

24 years agoDisabled spawn for mingw
michaelh [Sun, 26 Mar 2000 07:27:02 +0000 (07:27 +0000)]
Disabled spawn for mingw

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

24 years ago* Added support for mingw32.
michaelh [Sun, 26 Mar 2000 07:18:33 +0000 (07:18 +0000)]
* Added support for mingw32.

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

24 years ago* Added z80 blurb.
michaelh [Sun, 26 Mar 2000 05:06:20 +0000 (05:06 +0000)]
* Added z80 blurb.
* Added support for port specific #pragma's
* Added cygwin bypassing replacement for tmpname
* Merged gbz80 and z80 main's to make them easier to track.

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

24 years agodef. of ports, includes ...
mschmitt [Fri, 24 Mar 2000 18:38:18 +0000 (18:38 +0000)]
def. of ports, includes ...

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

24 years agoReplaced by folder startup_code
mschmitt [Fri, 24 Mar 2000 16:07:08 +0000 (16:07 +0000)]
Replaced by folder startup_code

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

24 years agoReplacement for buggy startup source
mschmitt [Fri, 24 Mar 2000 16:01:57 +0000 (16:01 +0000)]
Replacement for buggy startup source

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

24 years agomore remat problems fixed.
sandeep [Thu, 23 Mar 2000 17:57:56 +0000 (17:57 +0000)]
more remat problems fixed.

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

24 years agoFixed remat bug
sandeep [Thu, 23 Mar 2000 17:48:14 +0000 (17:48 +0000)]
Fixed remat bug

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

24 years agoAdd AVR to Borland C++ makefiles
kvigor [Thu, 23 Mar 2000 17:25:32 +0000 (17:25 +0000)]
Add AVR to Borland C++ makefiles

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

24 years agoAdded some pointer pre inc/dec optimization
sandeep [Thu, 23 Mar 2000 08:04:23 +0000 (08:04 +0000)]
Added some pointer pre inc/dec optimization

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

24 years agoadded avr to makefile.in & fixed a bug in cse.c
sandeep [Tue, 21 Mar 2000 18:47:20 +0000 (18:47 +0000)]
added avr to makefile.in & fixed a bug in cse.c

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

24 years agomore on AVR
sandeep [Mon, 20 Mar 2000 01:07:22 +0000 (01:07 +0000)]
more on AVR

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

24 years agoMore AVR stuff
sandeep [Mon, 20 Mar 2000 00:30:42 +0000 (00:30 +0000)]
More AVR stuff

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

24 years agolots of progress in AVR
sandeep [Sun, 19 Mar 2000 23:43:25 +0000 (23:43 +0000)]
lots of progress in AVR

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

24 years agomaking progress with AVR
sandeep [Sat, 18 Mar 2000 22:04:32 +0000 (22:04 +0000)]
making progress with AVR

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

24 years agoFix of prompt problem if ucsim runs in background mode (-r option)
drdani [Wed, 15 Mar 2000 14:49:27 +0000 (14:49 +0000)]
Fix of prompt problem if ucsim runs in background mode (-r option)

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

24 years agoFixed address of array
sandeep [Tue, 14 Mar 2000 18:10:35 +0000 (18:10 +0000)]
Fixed address of array

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

24 years ago1) fixed problem in global structure init
sandeep [Mon, 13 Mar 2000 19:01:43 +0000 (19:01 +0000)]
1) fixed problem in global structure init

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

24 years agoparameter passing in registers changed to be
sandeep [Sun, 12 Mar 2000 00:22:58 +0000 (00:22 +0000)]
parameter passing in registers changed to be
port specific. Since AVR will have different
parameter passing ABI.

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

24 years agoSome code cleanup & fixed problem of used bdefore definitions
sandeep [Sat, 11 Mar 2000 23:40:13 +0000 (23:40 +0000)]
Some code cleanup & fixed problem of used bdefore definitions
inside loops

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

24 years agoBrain death in previous commit
kvigor [Thu, 9 Mar 2000 21:13:07 +0000 (21:13 +0000)]
Brain death in previous commit

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

24 years ago10 bit stack mode: just a few more tweaks...
kvigor [Thu, 9 Mar 2000 21:04:52 +0000 (21:04 +0000)]
10 bit stack mode: just a few more tweaks...

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

24 years ago10 bit stack mode: handle DPTR2 in ISRs
kvigor [Thu, 9 Mar 2000 18:25:34 +0000 (18:25 +0000)]
10 bit stack mode: handle DPTR2 in ISRs

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

24 years ago10 bit stack mode: almost working...
kvigor [Thu, 9 Mar 2000 06:57:21 +0000 (06:57 +0000)]
10 bit stack mode: almost working...

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

24 years ago* Changed limit on 256$ to > 256
michaelh [Thu, 9 Mar 2000 04:47:22 +0000 (04:47 +0000)]
* Changed limit on 256$ to > 256
* Added IS_LITERAL() patch.
* Changed a few ints over to enums to help debugging.
* Fixed gbz80 missing struct members bug.
* Added heaps of debugging to ralloc()

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

24 years agoWhoops! Minor garbage in previous checkin
kvigor [Thu, 9 Mar 2000 01:38:10 +0000 (01:38 +0000)]
Whoops! Minor garbage in previous checkin

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

24 years ago10 bit stack mode: work in progress
kvigor [Thu, 9 Mar 2000 01:35:07 +0000 (01:35 +0000)]
10 bit stack mode: work in progress

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

24 years agoFirst pass at 10 bit stack mode for DS80C390
kvigor [Wed, 8 Mar 2000 23:45:28 +0000 (23:45 +0000)]
First pass at 10 bit stack mode for DS80C390

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

24 years agoregister allocator should not do block spil if defined used
sandeep [Wed, 8 Mar 2000 02:19:18 +0000 (02:19 +0000)]
register allocator should not do block spil if defined used
or defined anywhere in the block

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

24 years agomore array stuff
sandeep [Mon, 6 Mar 2000 21:52:59 +0000 (21:52 +0000)]
more array stuff

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

24 years ago1) fixed ~ operator problem
sandeep [Mon, 6 Mar 2000 18:49:54 +0000 (18:49 +0000)]
1) fixed ~ operator problem

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

24 years ago1) fixed complement problem
sandeep [Mon, 6 Mar 2000 18:49:32 +0000 (18:49 +0000)]
1) fixed complement problem
2) fixed peephole rule bug

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

24 years ago1) fixed one more array deref problem
sandeep [Mon, 6 Mar 2000 18:26:12 +0000 (18:26 +0000)]
1) fixed one more array deref problem

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

24 years agoGet wassert() to compile with Borland C++
kvigor [Mon, 6 Mar 2000 05:57:05 +0000 (05:57 +0000)]
Get wassert() to compile with Borland C++

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

24 years agoAdded latest benchmark record.
michaelh [Mon, 6 Mar 2000 05:02:37 +0000 (05:02 +0000)]
Added latest benchmark record.

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

24 years ago* Minor tuning
michaelh [Mon, 6 Mar 2000 04:53:30 +0000 (04:53 +0000)]
* Minor tuning
* Better addrOf
* Better plusInc (do sub as well?)
* Up to 185 with improved libs.  Seems low...

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

24 years agoClean up Borland C++ makefiles and add (lousy) documentation
kvigor [Sun, 5 Mar 2000 23:47:14 +0000 (23:47 +0000)]
Clean up Borland C++ makefiles and add (lousy) documentation

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

24 years ago*** empty log message ***
sandeep [Sun, 5 Mar 2000 23:21:37 +0000 (23:21 +0000)]
*** empty log message ***

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

24 years agoSome more AVR
sandeep [Sun, 5 Mar 2000 23:21:01 +0000 (23:21 +0000)]
Some more AVR

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

24 years agoSigh
michaelh [Sun, 5 Mar 2000 23:20:00 +0000 (23:20 +0000)]
Sigh

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

24 years agoReverted as/link Makefile change
michaelh [Sun, 5 Mar 2000 23:16:46 +0000 (23:16 +0000)]
Reverted as/link Makefile change

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

24 years agoInfrastructure stuff for AVR
sandeep [Sun, 5 Mar 2000 23:06:51 +0000 (23:06 +0000)]
Infrastructure stuff for AVR

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

24 years agoPre 2.92#2
michaelh [Sun, 5 Mar 2000 23:05:03 +0000 (23:05 +0000)]
Pre 2.92#2

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

24 years agoTracing Makefile bug
michaelh [Sun, 5 Mar 2000 22:50:53 +0000 (22:50 +0000)]
Tracing Makefile bug

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

24 years agoTracing as build bug
michaelh [Sun, 5 Mar 2000 22:44:32 +0000 (22:44 +0000)]
Tracing as build bug

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

24 years agoFixed silly Makefile _z80/z80 bug.
michaelh [Sun, 5 Mar 2000 22:31:06 +0000 (22:31 +0000)]
Fixed silly Makefile _z80/z80 bug.

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

24 years agoPre 2.92
michaelh [Sun, 5 Mar 2000 22:19:45 +0000 (22:19 +0000)]
Pre 2.92

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

24 years agoBlah. Pre 2.92.
michaelh [Sun, 5 Mar 2000 22:05:13 +0000 (22:05 +0000)]
Blah.  Pre 2.92.
Now has some acc use, some assign packing.  Z80 is probably broken.

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

24 years agoz80 assembler and linker now part of ./configure ; make ; make install
sandeep [Sun, 5 Mar 2000 21:41:51 +0000 (21:41 +0000)]
z80 assembler and linker now part of ./configure ; make ; make install
process.

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

24 years agoinitial version just copied them from mcs51 directory
sandeep [Sat, 4 Mar 2000 23:44:54 +0000 (23:44 +0000)]
initial version just copied them from mcs51 directory

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

24 years agoMade pointer casting a warning
sandeep [Sat, 4 Mar 2000 23:38:53 +0000 (23:38 +0000)]
Made pointer casting a warning

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

24 years agoinc & dec op added
sandeep [Sat, 4 Mar 2000 23:37:41 +0000 (23:37 +0000)]
inc & dec op added

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

24 years agofixed loop reversing problem
sandeep [Sat, 4 Mar 2000 23:35:50 +0000 (23:35 +0000)]
fixed loop reversing problem

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

24 years ago1) cse.c don't replace when not symop
sandeep [Sat, 4 Mar 2000 18:30:09 +0000 (18:30 +0000)]
1) cse.c don't replace when not symop
2) icode.c fixed the &array[n] problem
3) lrange.c fixed name for used before def

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

24 years agoMade pdata optional
michaelh [Fri, 3 Mar 2000 17:07:27 +0000 (17:07 +0000)]
Made pdata optional

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

24 years agofix broken static initializers in non-main() modules
kvigor [Thu, 2 Mar 2000 21:40:19 +0000 (21:40 +0000)]
fix broken static initializers in non-main() modules

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

24 years agoBegan making the hl loads more intelligent
michaelh [Thu, 2 Mar 2000 15:43:36 +0000 (15:43 +0000)]
Began making the hl loads more intelligent

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

24 years agofixes of curses lib detection
drdani [Wed, 1 Mar 2000 13:20:19 +0000 (13:20 +0000)]
fixes of curses lib detection

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

24 years agoMaster Borland C++ makefile
kvigor [Wed, 1 Mar 2000 07:06:21 +0000 (07:06 +0000)]
Master Borland C++ makefile

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

24 years agoAdded scripts to build all versions of as/link
michaelh [Wed, 1 Mar 2000 04:12:43 +0000 (04:12 +0000)]
Added scripts to build all versions of as/link

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

24 years agoFix crash while compiling dhrystone
kvigor [Tue, 29 Feb 2000 22:28:48 +0000 (22:28 +0000)]
Fix crash while compiling dhrystone

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

24 years agoGet compiling on Solaris
kvigor [Tue, 29 Feb 2000 18:41:42 +0000 (18:41 +0000)]
Get compiling on Solaris

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

24 years agocurses lib detection fix
drdani [Tue, 29 Feb 2000 12:15:15 +0000 (12:15 +0000)]
curses lib detection fix

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

24 years agoFix double pointer bug
kvigor [Tue, 29 Feb 2000 06:18:07 +0000 (06:18 +0000)]
Fix double pointer bug

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

24 years agoCLean up warnings with Borland C++
kvigor [Tue, 29 Feb 2000 04:30:30 +0000 (04:30 +0000)]
CLean up warnings with Borland C++

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

24 years agoMake &array[const] compile
kvigor [Mon, 28 Feb 2000 05:03:43 +0000 (05:03 +0000)]
Make &array[const] compile

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

24 years agoPre 2.91
michaelh [Sun, 27 Feb 2000 22:54:04 +0000 (22:54 +0000)]
Pre 2.91

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

24 years agoGet compiling with Borland C++ for Windows
kvigor [Sun, 27 Feb 2000 06:03:18 +0000 (06:03 +0000)]
Get compiling with Borland C++ for Windows

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

24 years agoGet compiling with Borland C++ for Windows
kvigor [Sun, 27 Feb 2000 05:47:14 +0000 (05:47 +0000)]
Get compiling with Borland C++ for Windows

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

24 years agoGet compiling with Vorland C++ for Windows
kvigor [Sun, 27 Feb 2000 05:41:53 +0000 (05:41 +0000)]
Get compiling with Vorland C++ for Windows

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

24 years agowas generating bad code for situations like
sandeep [Fri, 25 Feb 2000 23:35:19 +0000 (23:35 +0000)]
was generating bad code for situations like
a & b (a and b both ints sizeof() > 1)

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

24 years agopointer op problem.. with array if structures
sandeep [Fri, 25 Feb 2000 17:43:00 +0000 (17:43 +0000)]
pointer op problem.. with array if structures

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

24 years ago* Fixed addrOf bug, more packing for gbz80.
michaelh [Fri, 25 Feb 2000 02:52:29 +0000 (02:52 +0000)]
* Fixed addrOf bug, more packing for gbz80.

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

24 years agofixed some pointer optimizations
sandeep [Thu, 24 Feb 2000 22:19:52 +0000 (22:19 +0000)]
fixed some pointer optimizations

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

24 years agosome more pointer stuff fixed array of pointers
sandeep [Thu, 24 Feb 2000 21:33:12 +0000 (21:33 +0000)]
some more pointer stuff fixed array of pointers
post & pre increment & decrement of pointers

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

24 years agoOnly generate jump to sdcc_program_startup in module containing main()
kvigor [Thu, 24 Feb 2000 19:15:39 +0000 (19:15 +0000)]
Only generate jump to sdcc_program_startup in module containing main()

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

24 years agotakes care of the parm bytes problem
sandeep [Thu, 24 Feb 2000 19:10:39 +0000 (19:10 +0000)]
takes care of the parm bytes problem

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

24 years agoperl hack to pack an Intel HEX format output file
kvigor [Thu, 24 Feb 2000 18:10:42 +0000 (18:10 +0000)]
perl hack to pack an Intel HEX format output file

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

24 years agoaliasing for unions bug.
sandeep [Wed, 23 Feb 2000 19:11:09 +0000 (19:11 +0000)]
aliasing for unions bug.

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

24 years agoHacked bug re: pointer get.
michaelh [Wed, 23 Feb 2000 03:05:46 +0000 (03:05 +0000)]
Hacked bug re: pointer get.

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

24 years agofixed bug for bit complement
sandeep [Tue, 22 Feb 2000 21:50:29 +0000 (21:50 +0000)]
fixed bug for bit complement

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

24 years agoconversion fromto float needs only one parm
sandeep [Tue, 22 Feb 2000 20:19:41 +0000 (20:19 +0000)]
conversion fromto float needs only one parm

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

24 years ago1) glue.c added jump to __sdcc_program_start after gsinit.
sandeep [Tue, 22 Feb 2000 19:24:47 +0000 (19:24 +0000)]
1) glue.c added jump to __sdcc_program_start after gsinit.
2) mem.c locals declared 'data' should goto 'data' even in --model-large

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

24 years agoLots.
michaelh [Tue, 22 Feb 2000 04:02:54 +0000 (04:02 +0000)]
Lots.

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

24 years agoAdded peephole.
michaelh [Sun, 20 Feb 2000 05:29:34 +0000 (05:29 +0000)]
Added peephole.

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

24 years agoNice. Up to 85.55 C / 157.52 asm. Is now definatly better code than gbdk.
michaelh [Sun, 20 Feb 2000 05:28:38 +0000 (05:28 +0000)]
Nice.  Up to 85.55 C / 157.52 asm.  Is now definatly better code than gbdk.

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