1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-06 15:06:07 +00:00
cc65/libsrc/runtime
cuz 82751788fd Fixed a bug: Divisions with a divisor > 0xFFFFFF did not work because the
high byte of the divisor was overwritten instead of the high byte of the
result.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3525 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-05 21:01:34 +00:00
..
.cvsignore Ignore assembler listing files 2000-12-01 10:21:56 +00:00
add.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
addeqsp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
addysp.s More module splits 2000-10-25 19:53:22 +00:00
along.s New module 2002-11-23 11:19:51 +00:00
and.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
aslax1.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
aslax2.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
aslax3.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
aslax4.s More shift routines 2001-07-25 21:36:01 +00:00
asleax1.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
asleax2.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
asleax3.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
asleax4.s More shift routines 2001-07-25 21:36:01 +00:00
asr.s New code for the shift functions 2004-07-05 22:24:06 +00:00
asrax1.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
asrax2.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
asrax3.s Runtime function improvements by Piotr Fusik 2003-10-28 08:47:47 +00:00
asrax4.s Runtime function improvements by Piotr Fusik 2003-10-28 08:47:47 +00:00
asreax1.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
asreax2.s Remove unneeded code 2001-07-25 21:37:52 +00:00
asreax3.s More shift routines 2001-07-25 21:36:01 +00:00
asreax4.s More shift routines 2001-07-25 21:36:01 +00:00
axlong.s Splitted the lconvert module into three smaller ones to allow for smaller 2000-10-25 07:06:55 +00:00
bneg.s Minor optimization 2000-06-10 15:48:54 +00:00
bpushbsp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
call.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
callirq.s Call interrupt handlers with carry clear 2005-05-05 10:07:17 +00:00
callmain.s New module 2003-03-07 11:53:17 +00:00
compl.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
condes.s Move initialization code into the init segment 2005-02-26 09:06:46 +00:00
decax1.s Splitted the dec and inc modules into smaller ones 2000-10-31 18:42:47 +00:00
decax2.s Splitted the dec and inc modules into smaller ones 2000-10-31 18:42:47 +00:00
decax3.s Added mor specialized decax functions 2001-03-26 20:47:12 +00:00
decax4.s Added mor specialized decax functions 2001-03-26 20:47:12 +00:00
decax5.s Added mor specialized decax functions 2001-03-26 20:47:12 +00:00
decax6.s Added mor specialized decax functions 2001-03-26 20:47:12 +00:00
decax7.s Added mor specialized decax functions 2001-03-26 20:47:12 +00:00
decax8.s Added mor specialized decax functions 2001-03-26 20:47:12 +00:00
decaxy.s Splitted the dec and inc modules into smaller ones 2000-10-31 18:42:47 +00:00
decsp1.s More module splits 2000-10-25 19:53:22 +00:00
decsp2.s Rewrite the decsp and subysp functions now since they are used more often. 2001-03-24 16:15:01 +00:00
decsp3.s Rewrite the decsp and subysp functions now since they are used more often. 2001-03-24 16:15:01 +00:00
decsp4.s Rewrite the decsp and subysp functions now since they are used more often. 2001-03-24 16:15:01 +00:00
decsp5.s Rewrite the decsp and subysp functions now since they are used more often. 2001-03-24 16:15:01 +00:00
decsp6.s Rewrite the decsp and subysp functions now since they are used more often. 2001-03-24 16:15:01 +00:00
decsp7.s Rewrite the decsp and subysp functions now since they are used more often. 2001-03-24 16:15:01 +00:00
decsp8.s Recode decsp8 2001-03-26 14:41:45 +00:00
div.s Fixed the result of the % operator for ints 2002-09-28 19:41:00 +00:00
enter.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
eq.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ge.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
gt.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
icmp.s dos -> unix lf conversion 2002-04-21 14:19:14 +00:00
incax1.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
incax2.s Splitted the dec and inc modules into smaller ones 2000-10-31 18:42:47 +00:00
incax3.s Fixed errors in the incaxn functions 2001-02-21 08:39:25 +00:00
incax5.s Fixed errors in the incaxn functions 2001-02-21 08:39:25 +00:00
incax6.s Fixed errors in the incaxn functions 2001-02-21 08:39:25 +00:00
incax7.s Fixed errors in the incaxn functions 2001-02-21 08:39:25 +00:00
incax8.s Fixed errors in the incaxn functions 2001-02-21 08:39:25 +00:00
incaxy.s Splitted the dec and inc modules into smaller ones 2000-10-31 18:42:47 +00:00
incsp1.s More module splits 2000-10-25 19:53:22 +00:00
incsp2.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
incsp3.s Redid the last change, because it was bug (A must be saved across the call) 2003-05-13 10:00:39 +00:00
incsp4.s Redid the last change, because it was bug (A must be saved across the call) 2003-05-13 10:00:39 +00:00
incsp5.s Redid the last change, because it was bug (A must be saved across the call) 2003-05-13 10:00:39 +00:00
incsp6.s Redid the last change, because it was bug (A must be saved across the call) 2003-05-13 10:00:39 +00:00
incsp7.s Redid the last change, because it was bug (A must be saved across the call) 2003-05-13 10:00:39 +00:00
incsp8.s Redid the last change, because it was bug (A must be saved across the call) 2003-05-13 10:00:39 +00:00
jmpvec.s Moved jmpvec into a separate module 2002-12-26 15:45:48 +00:00
ladd.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
laddeq.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
laddeqsp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
land.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
lasr.s New code for the shift functions 2004-07-05 22:24:06 +00:00
lbneg.s Removed unneeded imports 2000-10-31 18:53:19 +00:00
lcmp.s dos -> unix lf conversion 2002-04-21 14:19:14 +00:00
lcompl.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ldai.s Remove/cleanup 2001-07-26 20:08:10 +00:00
ldau0sp.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
ldaui.s Remove/cleanup 2001-07-26 20:08:10 +00:00
ldauisp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ldaxi.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ldaxsp.s Removed old code to set the flags 2001-09-21 20:35:40 +00:00
ldeaxi.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ldeaxysp.s Split of the lruntime module 2000-11-01 22:03:22 +00:00
ldec.s Several SBC optimizations suggested by Piotr Fusik 2001-11-17 11:25:12 +00:00
ldiv.s Fixed the result of the % operator for longs 2002-09-28 19:55:19 +00:00
le.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
leasp.s Module split 2000-10-31 18:57:00 +00:00
leave.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
leq.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
lge.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
lgt.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
linc.s Added some 65C02 code. 2000-11-27 22:59:03 +00:00
lle.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
llt.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
lmod.s Minor optimization suggested by Greg King 2002-10-24 19:23:24 +00:00
lmul.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
lne.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
lneg.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
lor.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
lpop.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
lpush.s decspX will no longer save a 2001-03-24 15:57:32 +00:00
lrsub.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
lsave.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
lshelp.s Fixed the result of the % operator for longs 2002-09-28 19:55:19 +00:00
lshl.s New code for the shift functions 2004-07-05 22:24:06 +00:00
lshr.s New code for the shift functions 2004-07-05 22:24:06 +00:00
lsub.s Several SBC optimizations suggested by Piotr Fusik 2001-11-17 11:25:12 +00:00
lsubeq.s Several SBC optimizations suggested by Piotr Fusik 2001-11-17 11:25:12 +00:00
lsubeqsp.s Several SBC optimizations suggested by Piotr Fusik 2001-11-17 11:25:12 +00:00
lt.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ltest.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ludiv.s Fixed a bug: Divisions with a divisor > 0xFFFFFF did not work because the 2005-07-05 21:01:34 +00:00
luge.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
lugt.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
lule.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
lult.s Changed name for long compare subroutine 2001-10-01 22:21:16 +00:00
lumod.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
lxor.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
makebool.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
Makefile Add definitions for tools so the makefile is useful by itself. 2004-10-26 19:28:26 +00:00
mod.s Minor optimization suggested by Greg King 2002-10-24 19:23:24 +00:00
mul.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
mulax3.s Added special multiplication routines 2001-10-04 21:34:14 +00:00
mulax5.s Added special multiplication routines 2001-10-04 21:34:14 +00:00
mulax6.s Runtime function improvements by Piotr Fusik 2003-10-28 08:47:47 +00:00
mulax7.s Runtime function improvements by Piotr Fusik 2003-10-28 08:47:47 +00:00
mulax9.s Runtime function improvements by Piotr Fusik 2003-10-28 08:47:47 +00:00
mulax10.s Runtime function improvements by Piotr Fusik 2003-10-28 08:47:47 +00:00
ne.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
neg.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
or.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
pleasp.s Fixed a typo 2001-03-26 14:26:27 +00:00
popa.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
popsreg.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
push1.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
push2.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
push3.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
push4.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
push5.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
push6.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
push7.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
pusha.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
pushaff.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
pushax.s Added some cycle counts 2003-04-12 20:50:58 +00:00
pushb.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
pushbsp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
pushc0.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
pushc1.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
pushc2.s Splitted the push.s module 2000-10-26 20:43:54 +00:00
pushlysp.s Split of the lruntime module 2000-11-01 22:03:22 +00:00
pushw.s Rewrite 2002-11-23 16:21:46 +00:00
pushwsp.s Fixed a bug in pushw0sp 2002-11-23 16:21:35 +00:00
regswap1.s New functions to swap register variables 2002-11-25 12:38:38 +00:00
regswap2.s New functions to swap register variables 2002-11-25 12:38:38 +00:00
regswap.s New functions to swap register variables 2002-11-25 12:38:38 +00:00
return0.s More module splits 2000-10-25 19:53:22 +00:00
return1.s More module splits 2000-10-25 19:53:22 +00:00
rsub.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
shelp.s Fixed the result of the % operator for ints 2002-09-28 19:41:00 +00:00
shl.s New code for the shift functions 2004-07-05 22:24:06 +00:00
shr.s New code for the shift functions 2004-07-05 22:24:06 +00:00
shrax1.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
shrax2.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
shrax3.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
shrax4.s More shift routines 2001-07-25 21:36:01 +00:00
shreax1.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
shreax2.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
shreax3.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
shreax4.s More shift routines 2001-07-25 21:36:01 +00:00
staspidx.s Rewrite of spaspidx and staxspidx. More module splits. 2000-10-26 06:35:45 +00:00
staxsp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
staxspi.s Renamed a file with more than 8 chars in its name 2001-04-04 20:27:33 +00:00
steaxsp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
steaxspi.s Split of the lruntime module 2000-11-01 22:03:22 +00:00
stkchk.s Move initialization code into the init segment 2005-02-26 09:06:46 +00:00
sub.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
subeqsp.s Several SBC optimizations suggested by Piotr Fusik 2001-11-17 11:25:12 +00:00
subysp.s Runtime function improvements by Piotr Fusik 2003-10-28 08:47:47 +00:00
swap.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
test.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
tosint.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
toslong.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
udiv.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
uge.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ugt.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ule.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
ult.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
umod.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
xor.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
zeropage.s Use new assembler syntax 2003-11-09 23:00:22 +00:00