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

23 years agoFIx initialization of pointers in code space for DS390
kvigor [Sun, 24 Sep 2000 06:12:43 +0000 (06:12 +0000)]
FIx initialization of pointers in code space for DS390

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

23 years agoAdd warning for using --model-flat24
kvigor [Sun, 24 Sep 2000 05:19:19 +0000 (05:19 +0000)]
Add warning for using --model-flat24

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

23 years agoremove mcs51 flat24 libraries
kvigor [Sun, 24 Sep 2000 05:18:24 +0000 (05:18 +0000)]
remove mcs51 flat24 libraries

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

23 years agoAdd memcpyx for DS390 port
kvigor [Sun, 24 Sep 2000 05:17:11 +0000 (05:17 +0000)]
Add memcpyx for DS390 port

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

23 years agoYet another reg alloc bug uncovered by ds390
sandeep [Sat, 23 Sep 2000 17:58:53 +0000 (17:58 +0000)]
Yet another reg alloc bug uncovered by ds390

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

23 years agoMake _decdptr work properly for either DPTR on DS390
kvigor [Sat, 23 Sep 2000 05:36:04 +0000 (05:36 +0000)]
Make _decdptr work properly for either DPTR on DS390

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

23 years agoAdd labelRefCount constraints to many peephole rules
kvigor [Thu, 21 Sep 2000 21:48:28 +0000 (21:48 +0000)]
Add labelRefCount constraints to many peephole rules

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

23 years agoanother possible impedance mismatch in genPlus/genMinus
kvigor [Thu, 21 Sep 2000 21:17:41 +0000 (21:17 +0000)]
another possible impedance mismatch in genPlus/genMinus

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

23 years agoAdd labelRefCount constraint for peephole rules.
kvigor [Thu, 21 Sep 2000 20:31:50 +0000 (20:31 +0000)]
Add labelRefCount constraint for peephole rules.

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

23 years agoFix for windows to install s51.exe, not just s51
drdani [Thu, 21 Sep 2000 09:36:24 +0000 (09:36 +0000)]
Fix for windows to install s51.exe, not just s51

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

23 years agoNew version: 0.2.37 it fixes socklen_t, third param of accept(), and do not compile...
drdani [Thu, 21 Sep 2000 07:10:36 +0000 (07:10 +0000)]
New version: 0.2.37 it fixes socklen_t, third param of accept(), and do not compile gui part at all

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

23 years agounnecessary file made by the compiler (debugger?)
drdani [Thu, 21 Sep 2000 07:02:11 +0000 (07:02 +0000)]
unnecessary file made by the compiler (debugger?)

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

23 years agoRemove debug option (-c) from default assembler options
kvigor [Wed, 20 Sep 2000 22:47:32 +0000 (22:47 +0000)]
Remove debug option (-c) from default assembler options

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

23 years agoreplace bubble sorts (believe it or not) with qsort calls
kvigor [Wed, 20 Sep 2000 22:13:21 +0000 (22:13 +0000)]
replace bubble sorts (believe it or not) with qsort calls

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

23 years agorealized last bug impacted genPlus as well
kvigor [Wed, 20 Sep 2000 20:38:23 +0000 (20:38 +0000)]
realized last bug impacted genPlus as well

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

23 years agofix genMinus aopPut out-of-range bug
kvigor [Wed, 20 Sep 2000 20:33:44 +0000 (20:33 +0000)]
fix genMinus aopPut out-of-range bug

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

23 years agomake integer -> generic pointer casts default to XDATA and throw a awrning
kvigor [Wed, 20 Sep 2000 19:33:03 +0000 (19:33 +0000)]
make integer -> generic pointer casts default to XDATA and throw a awrning

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

23 years agominor fix for duplicate getchar function
mschmitt [Wed, 20 Sep 2000 19:11:17 +0000 (19:11 +0000)]
minor fix for duplicate getchar function

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

23 years agouncomment warnings for relative jumps out of range
kvigor [Wed, 20 Sep 2000 04:39:27 +0000 (04:39 +0000)]
uncomment warnings for relative jumps out of range

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

23 years agoFinal cleanup; completely working on TINI now (243 dhry/sec)
kvigor [Wed, 20 Sep 2000 04:18:32 +0000 (04:18 +0000)]
Final cleanup; completely working on TINI now (243 dhry/sec)

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

23 years agotail inc/dec optimizations were too agressive; fix typo in comments
kvigor [Wed, 20 Sep 2000 04:07:18 +0000 (04:07 +0000)]
tail inc/dec optimizations were too agressive; fix typo in comments

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

23 years agoClean up useage of ap register with DPTR2 opcodes
kvigor [Wed, 20 Sep 2000 00:22:29 +0000 (00:22 +0000)]
Clean up useage of ap register with DPTR2 opcodes

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

23 years agocleanup fp fix to pop directly instead of pop acc/mov x,acc; what was I thinking?
kvigor [Tue, 19 Sep 2000 22:36:21 +0000 (22:36 +0000)]
cleanup fp fix to pop directly instead of pop acc/mov x,acc; what was I thinking?

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

23 years agojust fixed a poor man's lazyness bug
johanknol [Tue, 19 Sep 2000 20:03:58 +0000 (20:03 +0000)]
just fixed a poor man's lazyness bug

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

23 years agofixed genUminus bug for int and long
johanknol [Tue, 19 Sep 2000 13:32:39 +0000 (13:32 +0000)]
fixed genUminus bug for int and long

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

23 years agominor TINI fixes
kvigor [Tue, 19 Sep 2000 04:12:36 +0000 (04:12 +0000)]
minor TINI fixes

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

23 years agoGet Borland C++ Makefiles working again
kvigor [Tue, 19 Sep 2000 03:54:44 +0000 (03:54 +0000)]
Get Borland C++ Makefiles working again

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

23 years agoClean .lib files out of ds390/ before copying new ones up
kvigor [Mon, 18 Sep 2000 23:06:50 +0000 (23:06 +0000)]
Clean .lib files out of ds390/ before copying new ones up

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

23 years agoaddiCodeToeBBlock should treat RETURN as flow control (like GOTO and JUMPTABLE)
kvigor [Mon, 18 Sep 2000 22:39:38 +0000 (22:39 +0000)]
addiCodeToeBBlock should treat RETURN as flow control (like GOTO and JUMPTABLE)

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

23 years agoAllow optimizer to replace params/locals in far space with registers for DS390 port
kvigor [Mon, 18 Sep 2000 21:41:31 +0000 (21:41 +0000)]
Allow optimizer to replace params/locals in far space with registers for DS390 port

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

23 years agoBetter fix for DS80C390 div bug (Johan's fp bug fixed in rev 1.4)
kvigor [Mon, 18 Sep 2000 20:02:55 +0000 (20:02 +0000)]
Better fix for DS80C390 div bug (Johan's fp bug fixed in rev 1.4)

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

23 years agoFixed a parameter allocation bug
sandeep [Mon, 18 Sep 2000 16:49:26 +0000 (16:49 +0000)]
Fixed a parameter allocation bug

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

23 years agods390 uses a 4 byte instruction code in flat24
johanknol [Sun, 17 Sep 2000 17:23:59 +0000 (17:23 +0000)]
ds390 uses a 4 byte instruction code in flat24

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

23 years agochanged some local var's to static
johanknol [Sun, 17 Sep 2000 17:19:41 +0000 (17:19 +0000)]
changed some local var's to static

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

23 years agofixed '\b' handling
johanknol [Sun, 17 Sep 2000 17:16:55 +0000 (17:16 +0000)]
fixed '\b' handling

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

23 years agoTaking out binutils
sandeep [Sat, 16 Sep 2000 18:25:32 +0000 (18:25 +0000)]
Taking out binutils

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

23 years agorestructured fp support
johanknol [Sat, 16 Sep 2000 15:11:39 +0000 (15:11 +0000)]
restructured fp support

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

23 years agotemporary fix for fp support
johanknol [Sat, 16 Sep 2000 12:58:16 +0000 (12:58 +0000)]
temporary fix for fp support

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

23 years agorestructuring fp support
johanknol [Sat, 16 Sep 2000 12:52:46 +0000 (12:52 +0000)]
restructuring fp support

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

23 years agoInitial %f support
johanknol [Sat, 16 Sep 2000 12:28:53 +0000 (12:28 +0000)]
Initial %f support

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

23 years agoAdd TINI target
kvigor [Sat, 16 Sep 2000 05:38:26 +0000 (05:38 +0000)]
Add TINI target

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

23 years agoAdd tini and install-tini targets to master makefile
kvigor [Fri, 15 Sep 2000 21:39:27 +0000 (21:39 +0000)]
Add tini and install-tini targets to master makefile

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

23 years agopackihx now lives in src/
kvigor [Fri, 15 Sep 2000 19:41:30 +0000 (19:41 +0000)]
packihx now lives in src/

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

23 years agoProperly install packihx utility
kvigor [Fri, 15 Sep 2000 19:39:13 +0000 (19:39 +0000)]
Properly install packihx utility

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

23 years agoFix Karl's FarPointer bug
kvigor [Thu, 14 Sep 2000 23:03:07 +0000 (23:03 +0000)]
Fix Karl's FarPointer bug

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

23 years agoDo not cache the result of the vasprintf test (see configure.in for explanation)...
kvigor [Thu, 14 Sep 2000 00:39:01 +0000 (00:39 +0000)]
Do not cache the result of the vasprintf test (see configure.in for explanation); finally get clean build on Solaris

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

23 years agofixed the pointers alive across function calls
sandeep [Wed, 13 Sep 2000 16:34:18 +0000 (16:34 +0000)]
fixed the pointers alive across function calls

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

23 years agomissed a spot where ronly can be set
sandeep [Mon, 11 Sep 2000 19:29:12 +0000 (19:29 +0000)]
missed a spot where ronly can be set

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

23 years agoremoved some quarks, works for tini loader 0515 now
johanknol [Mon, 11 Sep 2000 18:05:01 +0000 (18:05 +0000)]
removed some quarks, works for tini loader 0515 now

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

23 years agonew example
johanknol [Mon, 11 Sep 2000 18:02:22 +0000 (18:02 +0000)]
new example

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

23 years agofixed tini loader 0515 IVT mapping
johanknol [Mon, 11 Sep 2000 17:58:46 +0000 (17:58 +0000)]
fixed tini loader 0515 IVT mapping

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

23 years agoAdded binutils in preparation for AVR
sandeep [Mon, 11 Sep 2000 00:58:59 +0000 (00:58 +0000)]
Added binutils in preparation for AVR

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

23 years agooptions.model specific fixes
sandeep [Sun, 10 Sep 2000 02:13:23 +0000 (02:13 +0000)]
options.model specific fixes

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

23 years agofixed some option.model specific stuff
sandeep [Sun, 10 Sep 2000 02:12:35 +0000 (02:12 +0000)]
fixed some option.model specific stuff

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

23 years ago1) added some debug dumping
sandeep [Sat, 9 Sep 2000 19:13:48 +0000 (19:13 +0000)]
1) added some debug dumping
2) Fixed Big BUG is register allocator (all ports fixed)

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

23 years agoFixed
mschmitt [Thu, 7 Sep 2000 19:03:45 +0000 (19:03 +0000)]
Fixed

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

23 years agoFixed up z80 port so that it works again
michaelh [Sun, 3 Sep 2000 02:17:21 +0000 (02:17 +0000)]
Fixed up z80 port so that it works again

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

23 years agocosmetic
johanknol [Thu, 24 Aug 2000 15:05:27 +0000 (15:05 +0000)]
cosmetic

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

23 years agoMakefile.dep grew too large on my system
johanknol [Thu, 24 Aug 2000 12:02:28 +0000 (12:02 +0000)]
Makefile.dep grew too large on my system

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

23 years agoyep
johanknol [Thu, 24 Aug 2000 11:58:21 +0000 (11:58 +0000)]
yep

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

23 years agoan hello example for TINI that runs out of the box
johanknol [Wed, 23 Aug 2000 17:39:10 +0000 (17:39 +0000)]
an hello example for TINI that runs out of the box

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

23 years agodidn't checked the make (un)install, had some quarks even though
johanknol [Wed, 23 Aug 2000 17:36:26 +0000 (17:36 +0000)]
didn't checked the make (un)install, had some quarks even though

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

23 years agoremove a tini debug dwarf
johanknol [Wed, 23 Aug 2000 17:34:49 +0000 (17:34 +0000)]
remove a tini debug dwarf

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

23 years agolet's be more specific
johanknol [Wed, 23 Aug 2000 17:33:11 +0000 (17:33 +0000)]
let's be more specific

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

23 years agods390 library support
johanknol [Wed, 23 Aug 2000 15:25:41 +0000 (15:25 +0000)]
ds390 library support

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

23 years agods390 library support
johanknol [Wed, 23 Aug 2000 15:20:30 +0000 (15:20 +0000)]
ds390 library support

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

23 years agoYah, me missed that one
johanknol [Wed, 23 Aug 2000 15:05:39 +0000 (15:05 +0000)]
Yah, me missed that one

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

23 years agoSplit out yyerror.
michaelh [Sun, 20 Aug 2000 01:39:00 +0000 (01:39 +0000)]
Split out yyerror.
Added error, #line, and #pragma handling to altlex.
Added a few const's here and there.

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

23 years agoAdded alternate lexer
michaelh [Sat, 19 Aug 2000 21:58:54 +0000 (21:58 +0000)]
Added alternate lexer

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

23 years agoGot rid of gc_strdup, added prototype for alt lexer
michaelh [Sat, 19 Aug 2000 19:05:26 +0000 (19:05 +0000)]
Got rid of gc_strdup, added prototype for alt lexer

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

23 years agoFixed %p format for flat24 (non-ansi, but usefull for debugging)
johanknol [Sat, 19 Aug 2000 15:29:05 +0000 (15:29 +0000)]
Fixed %p format for flat24 (non-ansi, but usefull for debugging)

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

23 years agofixed the printf("%d", int(0)) bug
johanknol [Sat, 19 Aug 2000 12:10:54 +0000 (12:10 +0000)]
fixed the printf("%d", int(0)) bug

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

23 years agoSince Kevin decided to treat reentrant functions implicitly not IS_REGPARM-ed
johanknol [Sat, 19 Aug 2000 11:43:48 +0000 (11:43 +0000)]
Since Kevin decided to treat reentrant functions implicitly not IS_REGPARM-ed
in src/SDCCicode.c:geniCodeParms()-1.31 we shouldn't SPEC_REGPARM them either:)

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

23 years agoFixed -M and -C options to sdcc, they swallowed an extra argument
johanknol [Sat, 19 Aug 2000 09:40:35 +0000 (09:40 +0000)]
Fixed -M and -C options to sdcc, they swallowed an extra argument

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

23 years agoFix library build error introduced in last commit
kvigor [Fri, 18 Aug 2000 20:30:49 +0000 (20:30 +0000)]
Fix library build error introduced in last commit

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

23 years agoAdd ds390 port
kvigor [Fri, 18 Aug 2000 20:20:53 +0000 (20:20 +0000)]
Add ds390 port

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

23 years agoBreak DS80C390 support into seperate port (ds390); first pass at spilling temporaries...
kvigor [Fri, 18 Aug 2000 20:15:05 +0000 (20:15 +0000)]
Break DS80C390 support into seperate port (ds390); first pass at spilling temporaries to XDATA instead of DATA

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

23 years agojust checking commit
sandeep [Fri, 18 Aug 2000 17:05:42 +0000 (17:05 +0000)]
just checking commit

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

23 years agoPre 2.95-2
michaelh [Tue, 1 Aug 2000 03:22:21 +0000 (03:22 +0000)]
Pre 2.95-2

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

23 years agoMerge out from gbdk-295
michaelh [Sun, 30 Jul 2000 00:58:30 +0000 (00:58 +0000)]
Merge out from gbdk-295

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

23 years agoFixed up the z80 and gbz80 Makefiles to split out the objs - no more clean
michaelh [Sat, 22 Jul 2000 16:46:04 +0000 (16:46 +0000)]
Fixed up the z80 and gbz80 Makefiles to split out the objs - no more clean

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

23 years agoTurned off DE optimisation as arent yet splling
michaelh [Fri, 21 Jul 2000 02:29:18 +0000 (02:29 +0000)]
Turned off DE optimisation as arent yet splling
Tidied up emitStatics to something mildly less hacked.

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

23 years agoprocessing of %= was missing
kmh [Thu, 20 Jul 2000 07:45:18 +0000 (07:45 +0000)]
processing of %= was missing

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

23 years agoMost of the way to far fun support
michaelh [Thu, 20 Jul 2000 04:18:51 +0000 (04:18 +0000)]
Most of the way to far fun support

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

23 years agofixed problem with big arrays
kmh [Wed, 19 Jul 2000 14:43:25 +0000 (14:43 +0000)]
fixed problem with big arrays

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

23 years agoFixed Makefile. Most dests should run again
kmh [Mon, 17 Jul 2000 08:08:32 +0000 (08:08 +0000)]
Fixed Makefile. Most dests should run again

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

23 years ago* Changed banked for nonbanked
michaelh [Mon, 17 Jul 2000 04:13:19 +0000 (04:13 +0000)]
* Changed banked for nonbanked
* Added %F and %I to asm.c for filename and increasing int
* Fixed add and sub for the z80

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