diff lib/kreiderclib/memccpy.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/memccpy.as	Thu May 23 05:49:13 2013 -0500
@@ -0,0 +1,22 @@
+* Disassembly by Os9disasm of memccpy.r
+
+ section code
+
+memccpy: pshs  y,u 
+ ldu   8,s 
+ ldx   6,s 
+ ldy   12,s 
+ beq   L001b 
+L000b lda   ,u+ 
+ sta   ,x+ 
+ cmpa  11,s 
+ bne   L0017 
+ tfr   u,d 
+ bra   L001d 
+L0017 leay  -1,y 
+ bne   L000b 
+L001b tfr   y,d 
+L001d puls  y,u,pc 
+
+ endsect  
+