Mercurial > hg > Members > kono > nitros9-code
diff lib/kreiderclib/memcpy.as @ 2824:1647f1874cdf lwtools-port
Added Kreidier C library
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Thu, 23 May 2013 05:49:13 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/kreiderclib/memcpy.as Thu May 23 05:49:13 2013 -0500 @@ -0,0 +1,25 @@ +* Disassembly by Os9disasm of memcpy.r + + section code + +memcpy: pshs y,u + ldu 6,s + ldy 8,s + ldd 10,s + lsra + rorb + tfr d,x + bcc L0013 + lda ,y+ + sta ,u+ +L0013 stx -2,s + beq L001f +L0017 ldd ,y++ + std ,u++ + leax -1,x + bne L0017 +L001f ldd 6,s + puls y,u,pc + + endsect +