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

24 years agoMinor bug fixes
sandeep [Tue, 1 Feb 2000 20:55:24 +0000 (20:55 +0000)]
Minor bug fixes

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

24 years agofixed two problems
sandeep [Tue, 1 Feb 2000 17:47:18 +0000 (17:47 +0000)]
fixed two problems
a) variables declared as "bit" should not be assigned to registers
b) should not reorder instructions if there is a volatile assignment

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

24 years agoInclude file for Makefile with clean target
drdani [Mon, 31 Jan 2000 08:41:09 +0000 (08:41 +0000)]
Include file for Makefile with clean target

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

24 years agoFix clean
drdani [Mon, 31 Jan 2000 08:40:09 +0000 (08:40 +0000)]
Fix clean
drdani

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

24 years agonew file for Makefile
drdani [Mon, 31 Jan 2000 08:38:18 +0000 (08:38 +0000)]
new file for Makefile

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

24 years agoSDCCglue.h included
drdani [Mon, 31 Jan 2000 08:38:16 +0000 (08:38 +0000)]
SDCCglue.h included
drdani

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

24 years agoFix clean
drdani [Mon, 31 Jan 2000 08:34:18 +0000 (08:34 +0000)]
Fix clean
drdani

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

24 years agoFix distclean
drdani [Mon, 31 Jan 2000 08:32:30 +0000 (08:32 +0000)]
Fix distclean
drdani

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

24 years agoaopLiteral() included
drdani [Mon, 31 Jan 2000 08:30:43 +0000 (08:30 +0000)]
aopLiteral() included
drdani

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

24 years agofix def of aopLiteral()
drdani [Mon, 31 Jan 2000 08:29:45 +0000 (08:29 +0000)]
fix def of aopLiteral()
drdani

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

24 years agoMinor fixes
drdani [Mon, 31 Jan 2000 08:24:46 +0000 (08:24 +0000)]
Minor fixes
drdani

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

24 years agoFix some comments
drdani [Mon, 31 Jan 2000 08:24:06 +0000 (08:24 +0000)]
Fix some comments
drdani

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

24 years agoFix a comment
drdani [Mon, 31 Jan 2000 08:13:48 +0000 (08:13 +0000)]
Fix a comment
drdani

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

24 years agoFix a warning
drdani [Mon, 31 Jan 2000 08:06:38 +0000 (08:06 +0000)]
Fix a warning
drdani

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

24 years agoFix of distclean target and a new: newer
drdani [Mon, 31 Jan 2000 08:03:41 +0000 (08:03 +0000)]
Fix of distclean target and a new: newer
drdani

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

24 years agoDelete Makefile.common (generated file)
drdani [Mon, 31 Jan 2000 08:02:25 +0000 (08:02 +0000)]
Delete Makefile.common (generated file)
drdani

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

24 years agoa) fixed some aliasing problems
sandeep [Mon, 31 Jan 2000 04:17:23 +0000 (04:17 +0000)]
a) fixed some aliasing problems
b) Made language extension keywords e.g 'data'... target specific

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

24 years agoBuild related changes (don't know why it did not commit
sandeep [Sat, 29 Jan 2000 23:09:01 +0000 (23:09 +0000)]
Build related changes (don't know why it did not commit
the first time)

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

24 years agoBug Fixes
sandeep [Sat, 29 Jan 2000 18:06:27 +0000 (18:06 +0000)]
Bug Fixes

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

24 years agomore make/build related stuff
sandeep [Sat, 29 Jan 2000 00:42:02 +0000 (00:42 +0000)]
more make/build related stuff

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

24 years agoremoved makefile
sandeep [Fri, 28 Jan 2000 23:36:57 +0000 (23:36 +0000)]
removed makefile

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

24 years agoFixed for build
sandeep [Fri, 28 Jan 2000 22:57:01 +0000 (22:57 +0000)]
Fixed for build

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

24 years agoRemove icodes from the iCodeHashTable when
sandeep [Fri, 28 Jan 2000 22:55:42 +0000 (22:55 +0000)]
Remove icodes from the iCodeHashTable when
they are deleted during register packing

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

24 years agoChanges to build cleanly
sandeep [Fri, 28 Jan 2000 21:55:30 +0000 (21:55 +0000)]
Changes to build cleanly

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

24 years ago*** empty log message ***
sandeep [Thu, 27 Jan 2000 02:06:07 +0000 (02:06 +0000)]
*** empty log message ***

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

24 years agoFixed
michaelh [Mon, 24 Jan 2000 02:37:21 +0000 (02:37 +0000)]
Fixed

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

24 years agoAdded old snapshot makefile.
michaelh [Mon, 24 Jan 2000 02:33:41 +0000 (02:33 +0000)]
Added old snapshot makefile.

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

24 years agoAdded initial stack direction support. Didnt convert xstack but are
michaelh [Mon, 24 Jan 2000 02:29:19 +0000 (02:29 +0000)]
Added initial stack direction support.  Didnt convert xstack but are
straight forward.  Works on z80.

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

24 years agoAdded ports info to --help and --version.
michaelh [Sun, 23 Jan 2000 19:39:37 +0000 (19:39 +0000)]
Added ports info to --help and --version.

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

24 years agoAdded note on re-targeting.
michaelh [Sun, 23 Jan 2000 19:26:08 +0000 (19:26 +0000)]
Added note on re-targeting.

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

24 years agoShifted all area names into port. Shifted assembler names and opts
michaelh [Sun, 23 Jan 2000 19:07:41 +0000 (19:07 +0000)]
Shifted all area names into port.  Shifted assembler names and opts
into port.  Shiftet type sizes.
Now compiles cleanly on the Z80.  Probably doesnt work but.

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

24 years agoMore shifting. Remove SDCCralloc.h, made all in mcs51 static,
michaelh [Sun, 23 Jan 2000 18:26:04 +0000 (18:26 +0000)]
More shifting.  Remove SDCCralloc.h, made all in mcs51 static,
prepended mcs51_ for shared functions, made 'regs' an incomplete type.

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

24 years agoAdded missing port.h
michaelh [Sun, 23 Jan 2000 17:52:10 +0000 (17:52 +0000)]
Added missing port.h

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

24 years ago* Added common.h
michaelh [Sun, 23 Jan 2000 02:05:00 +0000 (02:05 +0000)]
* Added common.h
* Began making the ports self contained (ie static or uniquely named
  globals)
* Made it so you can select the port at run time (-mmcs51, -mz80...)

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

24 years agominor changes to bring in the simulator
sandeep [Tue, 18 Jan 2000 17:57:40 +0000 (17:57 +0000)]
minor changes to bring in the simulator

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

24 years agoMinor changes
sandeep [Tue, 18 Jan 2000 17:56:56 +0000 (17:56 +0000)]
Minor changes

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

24 years agofixed bug introduced in 2.1.Ga
sandeep [Tue, 18 Jan 2000 17:54:35 +0000 (17:54 +0000)]
fixed bug introduced in 2.1.Ga

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

24 years agofixed bug in packForPush ..
sandeep [Tue, 18 Jan 2000 17:38:54 +0000 (17:38 +0000)]
fixed bug in packForPush ..

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

24 years agoAdded verbose exec feature.
michaelh [Mon, 17 Jan 2000 06:09:52 +0000 (06:09 +0000)]
Added verbose exec feature.

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

24 years agoAdded z80 port (links, may not work). mcs51 still works.
michaelh [Mon, 17 Jan 2000 06:04:16 +0000 (06:04 +0000)]
Added z80 port (links, may not work).  mcs51 still works.

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

24 years agoRemoved some generated files, added Makefile.common, shifted mcs51 sdcc
michaelh [Mon, 17 Jan 2000 05:43:29 +0000 (05:43 +0000)]
Removed some generated files, added Makefile.common, shifted mcs51 sdcc
ports into the port directory, added hack to get it to compile.

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

24 years agoClean checkout, builds.
michaelh [Mon, 17 Jan 2000 03:46:55 +0000 (03:46 +0000)]
Clean checkout, builds.

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

24 years agoRemoved silly lib files
michaelh [Mon, 17 Jan 2000 03:28:34 +0000 (03:28 +0000)]
Removed silly lib files

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

24 years agoInitial revision
michaelh [Mon, 17 Jan 2000 03:23:41 +0000 (03:23 +0000)]
Initial revision

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