fw/sdcc
23 years agoFix of v__printf prototypes
drdani [Thu, 12 Oct 2000 10:32:38 +0000 (10:32 +0000)]
Fix of v__printf prototypes

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

23 years agoRemove bogus semicolon
kvigor [Wed, 11 Oct 2000 22:48:59 +0000 (22:48 +0000)]
Remove bogus semicolon

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

23 years agoMoved and unpacked examples to sdcc/device/examples/ds390
johanknol [Wed, 11 Oct 2000 08:44:46 +0000 (08:44 +0000)]
Moved and unpacked examples to sdcc/device/examples/ds390

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

23 years agoMoved and unpacked examples to sdcc/device/examples/ds390
johanknol [Wed, 11 Oct 2000 08:33:46 +0000 (08:33 +0000)]
Moved and unpacked examples to sdcc/device/examples/ds390

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

23 years agoOne more BCC fix
kvigor [Tue, 10 Oct 2000 04:28:00 +0000 (04:28 +0000)]
One more BCC fix

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

23 years agoGet Borland C++ build working yet again
kvigor [Tue, 10 Oct 2000 04:25:36 +0000 (04:25 +0000)]
Get Borland C++ build working yet again

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

23 years agoanother AVR
sandeep [Mon, 9 Oct 2000 01:07:28 +0000 (01:07 +0000)]
another AVR

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

23 years agointermediate commit for AVR
sandeep [Sun, 8 Oct 2000 18:52:49 +0000 (18:52 +0000)]
intermediate commit for AVR

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

23 years agoIntermediate commit for AVR
sandeep [Sun, 8 Oct 2000 18:52:26 +0000 (18:52 +0000)]
Intermediate commit for AVR

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

23 years agoYet another intermediate commit
sandeep [Sun, 8 Oct 2000 00:37:04 +0000 (00:37 +0000)]
Yet another intermediate commit

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

23 years agofixuptypes fixed
sandeep [Sat, 7 Oct 2000 22:07:44 +0000 (22:07 +0000)]
fixuptypes fixed

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

23 years agoAnother intermediate commit for AVR
sandeep [Sat, 7 Oct 2000 20:36:44 +0000 (20:36 +0000)]
Another intermediate commit for AVR

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

23 years agoForce function prototypes to default to extern storage class
kvigor [Fri, 6 Oct 2000 20:00:28 +0000 (20:00 +0000)]
Force function prototypes to default to extern storage class

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

23 years agodocument a few more options
kvigor [Wed, 4 Oct 2000 23:09:32 +0000 (23:09 +0000)]
document a few more options

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

23 years agoundo unistd.h; restores Cygwin & BC++ functionality
kvigor [Tue, 3 Oct 2000 05:52:14 +0000 (05:52 +0000)]
undo unistd.h; restores Cygwin & BC++ functionality

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

23 years agoreplace /usr/local/bin/perl shebang with ugly but hopefully more portable construct
kvigor [Mon, 2 Oct 2000 23:39:22 +0000 (23:39 +0000)]
replace /usr/local/bin/perl shebang with ugly but hopefully more portable construct

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

23 years agominor cleanup: rename link() to link_main() to avoid conflict with unistd.h; #include...
kvigor [Mon, 2 Oct 2000 19:33:44 +0000 (19:33 +0000)]
minor cleanup: rename link() to link_main() to avoid conflict with unistd.h; #include unistd.h to get proto for unlink()

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

23 years agoFix of INSTALL problem on cygwin
drdani [Mon, 2 Oct 2000 06:11:59 +0000 (06:11 +0000)]
Fix of INSTALL problem on cygwin

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

23 years agoChanged confusing comment
johanknol [Sun, 1 Oct 2000 13:02:50 +0000 (13:02 +0000)]
Changed confusing comment

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

23 years agoremove -Werror again for less stable systems
johanknol [Sun, 1 Oct 2000 08:35:29 +0000 (08:35 +0000)]
remove -Werror again for less stable systems

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

23 years agosome more avr intermediate stuff
sandeep [Sun, 1 Oct 2000 04:10:22 +0000 (04:10 +0000)]
some more avr intermediate stuff

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

23 years agoadded conditional transformation
sandeep [Sun, 1 Oct 2000 02:04:05 +0000 (02:04 +0000)]
added conditional transformation

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

23 years ago /* added condition transformations */
sandeep [Sun, 1 Oct 2000 02:02:40 +0000 (02:02 +0000)]
/* added  condition transformations */
    bool lt_nge ;     /* transform (a < b)  to !(a >= b)  */
    bool gt_nle ;     /* transform (a > b)  to !(a <= b)  */
    bool le_ngt ;     /* transform (a <= b) to !(a > b)   */
    bool ge_nlt ;     /* transform (a >= b) to !(a < b)   */
    bool ne_neq ;     /* transform a != b --> ! (a == b)  */
    bool eq_nne ;     /* transform a == b --> ! (a != b)  */

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

23 years agore-introduce required file
kvigor [Sat, 30 Sep 2000 21:42:56 +0000 (21:42 +0000)]
re-introduce required file

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

23 years agoat absolute address can be an expression . This increases the
sandeep [Sat, 30 Sep 2000 21:41:49 +0000 (21:41 +0000)]
at absolute address can be an expression . This increases the
shift reduce conflicts (but that's okay)

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

23 years agowhen adding to pointer, cast right side to int if
sandeep [Sat, 30 Sep 2000 21:38:12 +0000 (21:38 +0000)]
when adding to pointer, cast right side to int if
pointer size > 1

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

23 years agoInsist on bison: yacc isn't good enough
kvigor [Sat, 30 Sep 2000 21:37:32 +0000 (21:37 +0000)]
Insist on bison: yacc isn't good enough

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

23 years agoDPTR abuse by 182a fixed by adding 182b
kvigor [Sat, 30 Sep 2000 20:47:24 +0000 (20:47 +0000)]
DPTR abuse by 182a fixed by adding 182b

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

23 years agoobsolete
johanknol [Sat, 30 Sep 2000 19:55:30 +0000 (19:55 +0000)]
obsolete

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

23 years agocleanup; moved extern's from .c to .h files for double check
johanknol [Sat, 30 Sep 2000 19:39:35 +0000 (19:39 +0000)]
cleanup; moved extern's from .c to .h files for double check

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

23 years agocleaning; moved all extern's from .c to .h files for double check
johanknol [Sat, 30 Sep 2000 19:24:13 +0000 (19:24 +0000)]
cleaning; moved all extern's from .c to .h files for double check

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

23 years agoJust another DPS peephole
kvigor [Sat, 30 Sep 2000 18:27:41 +0000 (18:27 +0000)]
Just another DPS peephole

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

23 years agoAVR Intermediate commit
sandeep [Sat, 30 Sep 2000 16:57:19 +0000 (16:57 +0000)]
AVR Intermediate commit

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

23 years agoFixed up for AVR should not prefer globals
sandeep [Sat, 30 Sep 2000 16:56:46 +0000 (16:56 +0000)]
Fixed up for AVR should not prefer globals
in FAR_SPACE (even if direct space) over temps

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

23 years agoFixed array derefs
sandeep [Sat, 30 Sep 2000 16:55:32 +0000 (16:55 +0000)]
Fixed array derefs

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

23 years agotest for accept() size paramater type
kvigor [Fri, 29 Sep 2000 19:59:12 +0000 (19:59 +0000)]
test for accept() size paramater type

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

23 years agoCan't we skip this?
johanknol [Fri, 29 Sep 2000 19:10:26 +0000 (19:10 +0000)]
Can't we skip this?

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

23 years agoreplace obsolete prototypes with stdlib.h
kvigor [Fri, 29 Sep 2000 17:06:23 +0000 (17:06 +0000)]
replace obsolete prototypes with stdlib.h

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

23 years agouse $(MAKE) instead of make
kvigor [Fri, 29 Sep 2000 17:02:53 +0000 (17:02 +0000)]
use $(MAKE) instead of make

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

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