fw/sdcc
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

24 years ago* Runs dhrystone. 68.83d/s with terrible code.
michaelh [Sat, 19 Feb 2000 19:42:56 +0000 (19:42 +0000)]
* Runs dhrystone.  68.83d/s with terrible code.

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

24 years ago* Added iCodeSE patch
michaelh [Sat, 19 Feb 2000 05:08:06 +0000 (05:08 +0000)]
* Added iCodeSE patch
* Fixed genPointerGet, genPCall.

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

24 years agoAdded support for the gb, touched some files in testing the port.
michaelh [Thu, 17 Feb 2000 05:24:36 +0000 (05:24 +0000)]
Added support for the gb, touched some files in testing the port.

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

24 years agoflat 24: mung fReturnSize before packing registers to get packRegForOneUse working...
kvigor [Wed, 16 Feb 2000 20:14:36 +0000 (20:14 +0000)]
flat 24: mung fReturnSize before packing registers to get packRegForOneUse working properly in flat24 mode

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

24 years ago* Z80 should work again now.
michaelh [Wed, 16 Feb 2000 05:42:53 +0000 (05:42 +0000)]
* Z80 should work again now.

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

24 years ago* Added support for the gb.
michaelh [Wed, 16 Feb 2000 04:20:26 +0000 (04:20 +0000)]
* Added support for the gb.

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

24 years agoLeft some debugs turned on in previous commit
kvigor [Mon, 14 Feb 2000 23:35:57 +0000 (23:35 +0000)]
Left some debugs turned on in previous commit

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

24 years agoMinor optimization for 8051 tail increment/decrement
kvigor [Mon, 14 Feb 2000 23:32:44 +0000 (23:32 +0000)]
Minor optimization for 8051 tail increment/decrement

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

24 years agoNow the pointer_type information of a storeage
sandeep [Sun, 13 Feb 2000 17:32:05 +0000 (17:32 +0000)]
Now the pointer_type information of a storeage
class is stored in the memory-map don't need
ugly ifs just get it from the ocls data-structure.

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

24 years ago* Now can use acc for short lived varibles.
michaelh [Sun, 13 Feb 2000 01:12:59 +0000 (01:12 +0000)]
* Now can use acc for short lived varibles.
* Added a few peephole rules
* At 98 d/s - so close to 100... :)

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

24 years agoBetter packAssign
michaelh [Sat, 12 Feb 2000 06:26:12 +0000 (06:26 +0000)]
Better packAssign

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

24 years agoMisc flat 24 stack handling fixes
kvigor [Fri, 11 Feb 2000 21:40:27 +0000 (21:40 +0000)]
Misc flat 24 stack handling fixes

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

24 years agoCosmetic change in peeph.c
sandeep [Fri, 11 Feb 2000 20:05:13 +0000 (20:05 +0000)]
Cosmetic change in peeph.c
Found better way to handle Michaels spillocation
problem cse.c

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

24 years agodirectory name changed
sandeep [Fri, 11 Feb 2000 00:26:28 +0000 (00:26 +0000)]
directory name changed

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

24 years agoSome new peephole optimizations, primarily for 24 bit flat mode; also use dpx for...
kvigor [Thu, 10 Feb 2000 21:44:58 +0000 (21:44 +0000)]
Some new peephole optimizations, primarily for 24 bit flat mode; also use dpx for parameters in 24 bit mode.

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

24 years agoAdded statics
michaelh [Thu, 10 Feb 2000 06:11:02 +0000 (06:11 +0000)]
Added statics

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

24 years agoAdded comment on latest dhrystone result.
michaelh [Thu, 10 Feb 2000 05:48:25 +0000 (05:48 +0000)]
Added comment on latest dhrystone result.

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

24 years agoRight.
michaelh [Thu, 10 Feb 2000 05:46:45 +0000 (05:46 +0000)]
Right.
* Added t-state counter to crt0.s
* Shifted peephole rules into platform directories
* Turned on some of the reg packing under z80
* Added some dumb stdinclude files as a hack

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

24 years ago* dhry.c is clean-ish. Works on z80, compiles on mcs51, untested.
michaelh [Thu, 10 Feb 2000 02:43:05 +0000 (02:43 +0000)]
* dhry.c is clean-ish.  Works on z80, compiles on mcs51, untested.

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

24 years ago24 bit flat mode: handle generic pointer arithmetic
kvigor [Thu, 10 Feb 2000 01:31:17 +0000 (01:31 +0000)]
24 bit flat mode: handle generic pointer arithmetic

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

24 years ago24 bit flat mode: get call via function pointer working
kvigor [Wed, 9 Feb 2000 22:07:41 +0000 (22:07 +0000)]
24 bit flat mode: get call via function pointer working

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

24 years agoFirst pass at DS80C390 flat mode support
kvigor [Wed, 9 Feb 2000 18:09:01 +0000 (18:09 +0000)]
First pass at DS80C390 flat mode support

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

24 years agowork on avr port start by defining the new
sandeep [Wed, 9 Feb 2000 01:38:44 +0000 (01:38 +0000)]
work on avr port start by defining the new
memory maps & extra keywords.

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

24 years agoMore 24 bit flat mode support: handles "expr >> 16" relocations
kvigor [Tue, 8 Feb 2000 20:57:34 +0000 (20:57 +0000)]
More 24 bit flat mode support: handles "expr >> 16" relocations

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

24 years agoSpill-location updated incorrectly
sandeep [Tue, 8 Feb 2000 20:47:01 +0000 (20:47 +0000)]
Spill-location updated incorrectly

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

24 years ago1) SDCC_(target) new preprocessor define added
sandeep [Tue, 8 Feb 2000 06:50:04 +0000 (06:50 +0000)]
1) SDCC_(target) new preprocessor define added
2) variables being allocated to xstack in large model without
   --use-xstack option

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

24 years agoMildly better genCmp - still pretty bad.
michaelh [Tue, 8 Feb 2000 03:46:14 +0000 (03:46 +0000)]
Mildly better genCmp - still pretty bad.

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

24 years ago* Changed timing support to work directly of ConsoleZ80's tick count
michaelh [Tue, 8 Feb 2000 03:21:27 +0000 (03:21 +0000)]
* Changed timing support to work directly of ConsoleZ80's tick count
* Mild cleaning of dhry.c
* Improved iPush in gen.c, benchmarked

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

24 years agosome more parmBytes problem stack not adjusted
sandeep [Mon, 7 Feb 2000 18:28:19 +0000 (18:28 +0000)]
some more parmBytes problem stack not adjusted
when call made to reentrant support functions
eg (when _moduint/_muluint ...etc are called)

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

24 years agonewest ucsim is in sim/ucsim
drdani [Mon, 7 Feb 2000 10:47:29 +0000 (10:47 +0000)]
newest ucsim is in sim/ucsim

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

24 years agoucsim-0.2.37-pre3 into cvs
drdani [Mon, 7 Feb 2000 09:18:27 +0000 (09:18 +0000)]
ucsim-0.2.37-pre3 into cvs

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

24 years agoucsim-0.2.37-pre3 into cvs
drdani [Mon, 7 Feb 2000 08:24:57 +0000 (08:24 +0000)]
ucsim-0.2.37-pre3 into cvs

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

24 years agoKevin Vigor's fix for Solaris
drdani [Mon, 7 Feb 2000 08:08:07 +0000 (08:08 +0000)]
Kevin Vigor's fix for Solaris

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

24 years agoucsim-0.2.37-pre3 into cvs
drdani [Mon, 7 Feb 2000 08:07:02 +0000 (08:07 +0000)]
ucsim-0.2.37-pre3 into cvs

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

24 years agoremove compiled test files
drdani [Mon, 7 Feb 2000 07:59:35 +0000 (07:59 +0000)]
remove compiled test files

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

24 years agogenerated files removed
drdani [Mon, 7 Feb 2000 07:58:16 +0000 (07:58 +0000)]
generated files removed

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

24 years agoucsim-0.2.37-pre3 into cvs
drdani [Mon, 7 Feb 2000 07:47:30 +0000 (07:47 +0000)]
ucsim-0.2.37-pre3 into cvs

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

24 years agoucsim-0.2.37-pre3 into CVS
drdani [Mon, 7 Feb 2000 07:44:03 +0000 (07:44 +0000)]
ucsim-0.2.37-pre3 into CVS

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

24 years agoAdded timing and asm implementations of strcpy, strcmp, memcpy.
michaelh [Mon, 7 Feb 2000 05:35:29 +0000 (05:35 +0000)]
Added timing and asm implementations of strcpy, strcmp, memcpy.
Now up to 174 d/s.

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

24 years ago* Got dhrystone working - 83/s on a 4MHz Z80!
michaelh [Mon, 7 Feb 2000 03:26:37 +0000 (03:26 +0000)]
* Got dhrystone working - 83/s on a 4MHz Z80!
* Has hack re stack munching of __mulsint

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

24 years ago* Added a simple version of printf()
michaelh [Mon, 7 Feb 2000 01:15:25 +0000 (01:15 +0000)]
* Added a simple version of printf()
* Added more tests to dhrystone as it's not anywhere near working :)
* Remove the signed part from genCmp - is now broken.

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

24 years agoAdd 24 bit flat mode support for DS80C390 to assembler and linker
kvigor [Sun, 6 Feb 2000 20:29:41 +0000 (20:29 +0000)]
Add 24 bit flat mode support for DS80C390 to assembler and linker

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

24 years ago* Added a simple Intel IHX to ROM image converter. Will be removed when
michaelh [Sun, 6 Feb 2000 19:08:17 +0000 (19:08 +0000)]
* Added a simple Intel IHX to ROM image converter.  Will be removed when
  link-z80 supports blobs directly.

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

24 years ago* Improved the pop params code
michaelh [Sun, 6 Feb 2000 19:07:10 +0000 (19:07 +0000)]
* Improved the pop params code
* dhry.c now compiles and links for the z80
* Added simple z80 lib files and a stub strings.c

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

24 years agoFixed several problems
sandeep [Sun, 6 Feb 2000 09:01:35 +0000 (09:01 +0000)]
Fixed several problems
1) Enum problems
2) parmBytes not set correctly
3) copyiCode

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

24 years ago* Minor chage to glue re hard coded segs
michaelh [Sun, 6 Feb 2000 06:17:31 +0000 (06:17 +0000)]
* Minor chage to glue re hard coded segs
* Added jump table support, some signed support.

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

24 years ago* Fixed a couple of types in SDCCicode.c
michaelh [Sun, 6 Feb 2000 04:08:50 +0000 (04:08 +0000)]
* Fixed a couple of types in SDCCicode.c
* Changed the include and libs directories from sdcc51inc to include.

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

24 years agoAdded dhrystone test to test the compiler
michaelh [Sun, 6 Feb 2000 04:07:41 +0000 (04:07 +0000)]
Added dhrystone test to test the compiler

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

24 years agoFixed Sandeep's typos :)
michaelh [Sun, 6 Feb 2000 03:09:23 +0000 (03:09 +0000)]
Fixed Sandeep's typos :)

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

24 years agoinfrastucture for reducing spills
sandeep [Sat, 5 Feb 2000 19:03:07 +0000 (19:03 +0000)]
infrastucture for reducing spills

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

24 years agoChanged it so each target can have their own command line.
michaelh [Fri, 4 Feb 2000 04:27:28 +0000 (04:27 +0000)]
Changed it so each target can have their own command line.

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

24 years agoChanged the command builder to something a bit more extendable. I dont
michaelh [Fri, 4 Feb 2000 03:45:26 +0000 (03:45 +0000)]
Changed the command builder to something a bit more extendable.  I dont
know if I got all of the options - linker is unchecked.

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

24 years agoMade configure use the native libgc if available. Saves 40k on the exec.
michaelh [Wed, 2 Feb 2000 06:10:06 +0000 (06:10 +0000)]
Made configure use the native libgc if available.  Saves 40k on the exec.

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