fw/sdcc
22 years agoframe word for xa51 (not enabled yet)
johanknol [Sun, 6 Jan 2002 13:04:24 +0000 (13:04 +0000)]
frame word for xa51 (not enabled yet)

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

22 years agoframe work for xa51 (not enabled yet)
johanknol [Sun, 6 Jan 2002 13:03:15 +0000 (13:03 +0000)]
frame work for xa51 (not enabled yet)

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

22 years agoprintIvalCharPtr(), not printIvalChar()
bernhardheld [Fri, 4 Jan 2002 10:46:06 +0000 (10:46 +0000)]
printIvalCharPtr(), not printIvalChar()

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

22 years agocorrect setup of timer / UART
bernhardheld [Thu, 3 Jan 2002 23:15:16 +0000 (23:15 +0000)]
correct setup of timer / UART

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

22 years ago* src/SDCCsymt.c (processFuncArgs): fix #498307 by Johan
bernhardheld [Thu, 3 Jan 2002 17:49:39 +0000 (17:49 +0000)]
* src/SDCCsymt.c (processFuncArgs): fix #498307 by Johan
* src/SDCCglue.h: add definition for printIvalChar()

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

22 years ago* src/SDCCast.c: fix #498138 by Johan
bernhardheld [Wed, 2 Jan 2002 22:54:25 +0000 (22:54 +0000)]
* src/SDCCast.c: fix #498138 by Johan
* src/SDCCglue.c: fix #498138 by Johan

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

22 years ago* support/regression/Makefile: fix clean
bernhardheld [Wed, 2 Jan 2002 21:06:26 +0000 (21:06 +0000)]
* support/regression/Makefile: fix clean
* support/regression/ports/ds390/support.c: fix transmission of last character

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

22 years agoDelete CR in line ending
bernhardheld [Tue, 1 Jan 2002 14:43:49 +0000 (14:43 +0000)]
Delete CR in line ending

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

22 years agomake caller set/restore regbank
skenton [Tue, 1 Jan 2002 06:19:07 +0000 (06:19 +0000)]
make caller set/restore regbank

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

22 years agomake pcall use correct chain
skenton [Mon, 31 Dec 2001 19:42:31 +0000 (19:42 +0000)]
make pcall use correct chain

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

22 years ago*** empty log message ***
sandeep [Sat, 29 Dec 2001 23:52:11 +0000 (23:52 +0000)]
*** empty log message ***

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

22 years agoa) improved computing address of stack variable
sandeep [Sat, 29 Dec 2001 23:49:15 +0000 (23:49 +0000)]
a) improved computing address of stack variable
b) took out some #if 0 code
c) improved parmBytes adjustment
d) improved genPlusIncr & genMinusIncr
e) genCmp could generate bad code (when left assigned to DPTR)
f) Fixed bug in hasInc

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

22 years agoa) packRegsForSupport could mess up live information (Fixed)
sandeep [Sat, 29 Dec 2001 23:45:36 +0000 (23:45 +0000)]
a) packRegsForSupport could mess up live information (Fixed)
b) packRegsDPTRuse could be incorrect for left & right shift

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

22 years agopackRegsForSupport could mess up the live information (Fixed)
sandeep [Sat, 29 Dec 2001 23:43:53 +0000 (23:43 +0000)]
packRegsForSupport could mess up the live information (Fixed)

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

22 years agoFixed a bug in hasInc
sandeep [Sat, 29 Dec 2001 23:43:12 +0000 (23:43 +0000)]
Fixed a bug in hasInc

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

22 years agocan reverse a loop even if function call is present as long
sandeep [Sat, 29 Dec 2001 22:38:35 +0000 (22:38 +0000)]
can reverse a loop even if function call is present as long
as the loop control variable is local & is not passed as parameter

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

22 years agofixed the 'char *s="hallo";' initialization bug
johanknol [Tue, 25 Dec 2001 13:08:16 +0000 (13:08 +0000)]
fixed the 'char *s="hallo";' initialization bug

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

22 years ago*** empty log message ***
sandeep [Mon, 24 Dec 2001 22:44:05 +0000 (22:44 +0000)]
*** empty log message ***

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

22 years agoMore builtin function additions for TININative
sandeep [Mon, 24 Dec 2001 22:41:30 +0000 (22:41 +0000)]
More builtin function additions for TININative

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

22 years agoHad broken the regression testsuite
sandeep [Mon, 24 Dec 2001 22:40:00 +0000 (22:40 +0000)]
Had broken the regression testsuite

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

22 years agoFixed a bug in dumptree
sandeep [Mon, 24 Dec 2001 22:13:12 +0000 (22:13 +0000)]
Fixed a bug in dumptree

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

22 years agoAdded funcattr hasStackParms will be set for reentrant functions when there
sandeep [Mon, 24 Dec 2001 22:11:41 +0000 (22:11 +0000)]
Added funcattr hasStackParms will be set for reentrant functions when there
are paramteres on the stack, this helps in minimizing frame pointer generation
typeFromStr can handle function pointers now

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

22 years ago*** empty log message ***
sandeep [Mon, 24 Dec 2001 22:08:28 +0000 (22:08 +0000)]
*** empty log message ***

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

22 years agooops
johanknol [Mon, 24 Dec 2001 18:41:38 +0000 (18:41 +0000)]
oops

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

22 years agosome small fixes
johanknol [Mon, 24 Dec 2001 16:57:38 +0000 (16:57 +0000)]
some small fixes

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

22 years agothe real constExprTree()
johanknol [Mon, 24 Dec 2001 15:20:35 +0000 (15:20 +0000)]
the real constExprTree()

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

22 years agodisabled constExprTree the proper way
johanknol [Mon, 24 Dec 2001 10:16:33 +0000 (10:16 +0000)]
disabled constExprTree the proper way

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

22 years ago*** empty log message ***
sandeep [Mon, 24 Dec 2001 03:53:22 +0000 (03:53 +0000)]
*** empty log message ***

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

22 years agoALPHA version for -mTININative
sandeep [Mon, 24 Dec 2001 03:50:01 +0000 (03:50 +0000)]
ALPHA version for -mTININative

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

22 years agoupdated to reflect changes in the port structure
sandeep [Mon, 24 Dec 2001 03:46:33 +0000 (03:46 +0000)]
updated to reflect changes in the port structure

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

22 years agoadded function do_assemble (similar to do_link) if non-null this function
sandeep [Mon, 24 Dec 2001 03:45:07 +0000 (03:45 +0000)]
added function do_assemble (similar to do_link) if non-null this function
will be called to do assembly (-mTININative) requires a multi command
assembly
added function genAssemblerEnd will be called to generate assembler Epilogue

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

22 years agoadded _JavaNative to debug info printing
sandeep [Mon, 24 Dec 2001 03:43:03 +0000 (03:43 +0000)]
added _JavaNative to debug info printing

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

22 years agoadded option --tini-libid
sandeep [Mon, 24 Dec 2001 03:42:03 +0000 (03:42 +0000)]
added option --tini-libid
added port->do_assemble function (-mTININative) has a multi command assemble

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

22 years agoDisabled "constExpr" check
sandeep [Mon, 24 Dec 2001 03:40:22 +0000 (03:40 +0000)]
Disabled "constExpr" check
added port->genAssemblerEnd function

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

22 years agoAdded option --tini-libid value
sandeep [Mon, 24 Dec 2001 03:38:58 +0000 (03:38 +0000)]
Added option --tini-libid value

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

22 years agotookout optimizeCompare from the header (has no external references)
sandeep [Mon, 24 Dec 2001 03:38:04 +0000 (03:38 +0000)]
tookout optimizeCompare from the header (has no external references)

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

22 years agomade one more function "static"
sandeep [Mon, 24 Dec 2001 03:37:11 +0000 (03:37 +0000)]
made one more function "static"

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

22 years ago * src/z80/mappings.i: Added z80asm support.
michaelh [Sun, 23 Dec 2001 20:54:48 +0000 (20:54 +0000)]
* src/z80/mappings.i: Added z80asm support.

* src/z80/main.c: Added z80asm support on --asm=z80asm

* src/z80/gen.c: Fixed asm portability issues.

* src/asm.c (tvsprintf): Removed old code, added 'N' for function name.  For extern support.

* src/SDCCglue.c (printExterns): Added global/extern split.

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

22 years agofixed the remainder of bug #485513
johanknol [Sun, 23 Dec 2001 15:06:34 +0000 (15:06 +0000)]
fixed the remainder of bug #485513

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

22 years agoremoved a useless experiment
johanknol [Fri, 21 Dec 2001 09:20:35 +0000 (09:20 +0000)]
removed a useless experiment

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

22 years agoIndented some comments .
sandeep [Fri, 21 Dec 2001 05:09:25 +0000 (05:09 +0000)]
Indented some comments .
Optimized unsigned less than & greater than compares

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

22 years agoFixed a bug major in FillGaps , have to check uses for positioning also.
sandeep [Fri, 21 Dec 2001 05:08:22 +0000 (05:08 +0000)]
Fixed a bug major in FillGaps , have to check uses for positioning also.

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

22 years agoFixed bug #493423, allow 0 element arrays in structures but no where else
sandeep [Thu, 20 Dec 2001 05:48:21 +0000 (05:48 +0000)]
Fixed bug #493423, allow 0 element arrays in structures but no where else

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

22 years agoMade some functions "static" for better optimizations by the host compiler
sandeep [Thu, 20 Dec 2001 05:46:27 +0000 (05:46 +0000)]
Made some functions "static" for better optimizations by the host compiler
and removed some #if 0 code.

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

22 years agofixed bug #482699
johanknol [Wed, 19 Dec 2001 15:11:33 +0000 (15:11 +0000)]
fixed bug #482699

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

22 years agofixed bug #486483
johanknol [Wed, 19 Dec 2001 14:36:32 +0000 (14:36 +0000)]
fixed bug #486483

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

22 years agofixed bug #494721
johanknol [Wed, 19 Dec 2001 13:10:51 +0000 (13:10 +0000)]
fixed bug #494721

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

22 years agoFixed a post increment bug . Cannot post increment if there is a label
sandeep [Wed, 19 Dec 2001 05:38:51 +0000 (05:38 +0000)]
Fixed a post increment bug . Cannot post increment if there is a label

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

22 years agoif "const" specified with other storage class then storage class prevails
sandeep [Wed, 19 Dec 2001 05:10:46 +0000 (05:10 +0000)]
if "const" specified with other storage class then storage class prevails
don't put the variable into code segment

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

22 years agoIf a variable/function is declared as extern then declared in a file then delete
sandeep [Wed, 19 Dec 2001 05:04:14 +0000 (05:04 +0000)]
If a variable/function is declared as extern then declared in a file then delete
it from the memory segment so that it does not land up in both "externs" and "globals"

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

22 years agoAdded function deleteFromSeg
sandeep [Wed, 19 Dec 2001 05:00:28 +0000 (05:00 +0000)]
Added function deleteFromSeg

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

22 years agoYet again, signed comparisons to literals has been fixed.
sdattalo [Tue, 18 Dec 2001 17:01:47 +0000 (17:01 +0000)]
Yet again, signed comparisons to literals has been fixed.
  * compare9.c - an exhaustive '<=' compare to char and int literals
  * compare10.c - an exhaustive '>=' compare to char and int literals

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

22 years ago * support/regression/Makefile: added test for mcs51 model large
bernhardheld [Tue, 18 Dec 2001 09:40:28 +0000 (09:40 +0000)]
* support/regression/Makefile: added test for mcs51 model large

* support/regression/ports/mcs51-large/spec.mk: added test for mcs51 model large

* support/regression/ports/gbz80/spec.mk: added -mgbz80

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

22 years ago * support/regression/Makefile: added test for mcs51 model large
bernhardheld [Tue, 18 Dec 2001 09:35:10 +0000 (09:35 +0000)]
* support/regression/Makefile: added test for mcs51 model large

* support/regression/ports/mcs51-large/spec.mk: added test for mcs51 model large

* support/regression/ports/gbz80/spec.mk: added -mgbz80

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

22 years agofixed a typo
johanknol [Tue, 18 Dec 2001 09:13:31 +0000 (09:13 +0000)]
fixed a typo

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

22 years agoupdated to reflect the changes in port structure
sandeep [Tue, 18 Dec 2001 04:32:27 +0000 (04:32 +0000)]
updated to reflect the changes in port structure

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

22 years agoSome peepholes cannot be done in tiniNative mode because "a390" is a STUPID assembler
sandeep [Tue, 18 Dec 2001 04:29:59 +0000 (04:29 +0000)]
Some peepholes cannot be done in tiniNative mode because "a390" is a STUPID assembler

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

22 years agoAdded tiniNative port
sandeep [Tue, 18 Dec 2001 04:28:31 +0000 (04:28 +0000)]
Added tiniNative port

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

22 years agoMore assembler agnostisisms now the code generated actually assembles with "a390"
sandeep [Tue, 18 Dec 2001 04:27:40 +0000 (04:27 +0000)]
More assembler agnostisisms now the code generated actually assembles with "a390"

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

22 years agoadded unqualified_pointer, globals_allowed & reset_labelKey to port structure
sandeep [Tue, 18 Dec 2001 04:24:42 +0000 (04:24 +0000)]
added unqualified_pointer, globals_allowed & reset_labelKey to port structure

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

22 years agoAdded mappings for "a390" the TINI assembler
sandeep [Tue, 18 Dec 2001 04:23:16 +0000 (04:23 +0000)]
Added mappings for "a390" the TINI assembler

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

22 years agoAdded _JavaNative & Overlay to funcattrs
sandeep [Tue, 18 Dec 2001 04:22:16 +0000 (04:22 +0000)]
Added _JavaNative & Overlay to funcattrs

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

22 years ago1) port decides whether to handle GPOINTER unqualified pointers treated as port-...
sandeep [Tue, 18 Dec 2001 04:21:21 +0000 (04:21 +0000)]
1) port decides whether to handle GPOINTER unqualified pointers treated as port->unqualified_pointer
2) added new FUNC* attributes to mergeSpec

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

22 years agoadded functions flat24bitModeAndPortDS390 & portIsDS390 used by ds390 peephole optimizer
sandeep [Tue, 18 Dec 2001 04:18:45 +0000 (04:18 +0000)]
added functions flat24bitModeAndPortDS390 & portIsDS390 used by ds390 peephole optimizer

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

22 years agoPort decides whether to handle a GPOINTER unqualified pointers will be treated as...
sandeep [Tue, 18 Dec 2001 04:17:22 +0000 (04:17 +0000)]
Port decides whether to handle a GPOINTER unqualified pointers will be treated as port->unqualified_pointer

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

22 years agoAdded check for _overlay keyword to force a function to overlay
sandeep [Tue, 18 Dec 2001 04:16:20 +0000 (04:16 +0000)]
Added check for _overlay keyword to force a function to overlay

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

22 years agoAdded port "tiniNative"
sandeep [Tue, 18 Dec 2001 04:15:20 +0000 (04:15 +0000)]
Added port "tiniNative"

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

22 years ago1) don't mark a liverange as Live across a functioncall if it is
sandeep [Tue, 18 Dec 2001 04:14:21 +0000 (04:14 +0000)]
1) don't mark a liverange as Live across a functioncall if it is
defined by the function call

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

22 years agoIncomplete implementation of #pragma OVERLAY (work in progress)
sandeep [Tue, 18 Dec 2001 04:12:26 +0000 (04:12 +0000)]
Incomplete implementation of #pragma OVERLAY (work in progress)

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

22 years ago1) Port decides whether to handle GPOINTER unqualified pointers treated as port-...
sandeep [Tue, 18 Dec 2001 04:11:21 +0000 (04:11 +0000)]
1) Port decides whether to handle GPOINTER unqualified pointers treated as port->unqualified_pointer
2) Port decides if the LabelKey will be reset to 1 after each functions (some assemblers don't like duplicate labels, even if they are local)

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

22 years ago1) Added keyword "_JavaNative" prep for TINI
sandeep [Tue, 18 Dec 2001 04:08:24 +0000 (04:08 +0000)]
1) Added keyword "_JavaNative"  prep for TINI
2) Added keyword "_overlay" forces overlay for a function
3) Port decides whether to handle GPOINTER unqualified pointers treated
as port->unqualified_pointer

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

22 years ago1) Added Keywords "_JavaNative" prep for TINI
sandeep [Tue, 18 Dec 2001 04:05:36 +0000 (04:05 +0000)]
1) Added Keywords "_JavaNative" prep for TINI
2) Added Keyword "_overlay " forces overlay of a function
3) #pragma OVERLAY incomplete

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

22 years agommmm, that could be better
johanknol [Mon, 17 Dec 2001 17:41:43 +0000 (17:41 +0000)]
mmmm, that could be better

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

22 years agochange to initialized data segment before emitting the segment
johanknol [Mon, 17 Dec 2001 17:25:07 +0000 (17:25 +0000)]
change to initialized data segment before emitting the segment

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

22 years agofixed bug #490097
johanknol [Mon, 17 Dec 2001 13:18:43 +0000 (13:18 +0000)]
fixed bug #490097

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

22 years agoassigning NULL to a generic pointer is ok
johanknol [Mon, 17 Dec 2001 11:21:45 +0000 (11:21 +0000)]
assigning NULL to a generic pointer is ok

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

22 years agofixed an aggregate initialization bug
johanknol [Mon, 17 Dec 2001 10:34:02 +0000 (10:34 +0000)]
fixed an aggregate initialization bug

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

22 years ago(_*_genXINIT) orl instead of add
bernhardheld [Mon, 17 Dec 2001 07:22:48 +0000 (07:22 +0000)]
(_*_genXINIT) orl instead of add

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

22 years ago(_ds390_genXINIT) added test for 0 length
bernhardheld [Sun, 16 Dec 2001 19:02:28 +0000 (19:02 +0000)]
(_ds390_genXINIT) added test for 0 length

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

22 years ago(_mcs51_genXINIT) added test for 0 length
bernhardheld [Sun, 16 Dec 2001 18:48:18 +0000 (18:48 +0000)]
(_mcs51_genXINIT) added test for 0 length

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

22 years agoanother missing file. Can't we trust cvs anymore?
johanknol [Sun, 16 Dec 2001 16:53:40 +0000 (16:53 +0000)]
another missing file. Can't we trust cvs anymore?

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

22 years agosome small corrections
johanknol [Sun, 16 Dec 2001 16:14:32 +0000 (16:14 +0000)]
some small corrections

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

22 years agoThis should never have been here
johanknol [Sun, 16 Dec 2001 16:12:21 +0000 (16:12 +0000)]
This should never have been here

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

22 years agomissing files for "added seperate segments for initialized data"
johanknol [Sun, 16 Dec 2001 14:40:49 +0000 (14:40 +0000)]
missing files for "added seperate segments for initialized data"

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

22 years agoadded seperate segments for initialized data
johanknol [Sun, 16 Dec 2001 12:55:53 +0000 (12:55 +0000)]
added seperate segments for initialized data

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

22 years agoremove the bad fix for bug #485514
johanknol [Fri, 14 Dec 2001 16:05:18 +0000 (16:05 +0000)]
remove the bad fix for bug #485514

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

22 years agoDPTR use fixed for add to remat.
sandeep [Tue, 11 Dec 2001 21:53:41 +0000 (21:53 +0000)]
DPTR use fixed for add to remat.
iTemps used in return statements can be assigned tp DPTR

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

22 years ago*** empty log message ***
sdattalo [Tue, 11 Dec 2001 15:20:51 +0000 (15:20 +0000)]
*** empty log message ***

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

22 years agoa fix from Jesus Calvino-Fraga (jesusc@interchange.ubc.ca)
johanknol [Tue, 11 Dec 2001 13:33:45 +0000 (13:33 +0000)]
a fix from Jesus Calvino-Fraga (jesusc@interchange.ubc.ca)

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

22 years agofixed bug #482168
johanknol [Mon, 10 Dec 2001 13:57:23 +0000 (13:57 +0000)]
fixed bug #482168

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

22 years agofixed bug #490955
johanknol [Mon, 10 Dec 2001 09:44:49 +0000 (09:44 +0000)]
fixed bug #490955

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

22 years agoadded missing storage class adjustment
kmh [Sun, 9 Dec 2001 20:16:20 +0000 (20:16 +0000)]
added missing storage class adjustment

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

22 years agofixed typo EEA -> EA
kmh [Sun, 9 Dec 2001 20:11:15 +0000 (20:11 +0000)]
fixed typo EEA -> EA

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

22 years agofixed bug #485514
johanknol [Sun, 9 Dec 2001 16:42:21 +0000 (16:42 +0000)]
fixed bug #485514

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

22 years agofixed bug #486503
johanknol [Sun, 9 Dec 2001 13:44:02 +0000 (13:44 +0000)]
fixed bug #486503

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

22 years agofixed bug #482668
johanknol [Sun, 9 Dec 2001 13:29:38 +0000 (13:29 +0000)]
fixed bug #482668

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

22 years agofixed bug #477835 for ds390-port
johanknol [Sun, 9 Dec 2001 11:45:10 +0000 (11:45 +0000)]
fixed bug #477835 for ds390-port

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

22 years ago * src/diff.1 (Index): Many, many optmisiations. Dhrystone up to 201.
michaelh [Thu, 6 Dec 2001 03:07:04 +0000 (03:07 +0000)]
 * src/diff.1 (Index): Many, many optmisiations.  Dhrystone up to 201.

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

22 years agofixed bug #489360
johanknol [Wed, 5 Dec 2001 20:06:13 +0000 (20:06 +0000)]
fixed bug #489360

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

22 years agofix printf is a macro in gcc 3
drdani [Tue, 4 Dec 2001 07:55:57 +0000 (07:55 +0000)]
fix printf is a macro in gcc 3

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