diff lib/kreiderclib/strhcpy.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/strhcpy.as	Thu May 23 05:49:13 2013 -0500
@@ -0,0 +1,18 @@
+* Disassembly by Os9disasm of strhcpy.r
+
+ section code
+
+strhcpy: pshs  u 
+ ldu   4,s 
+ ldx   6,s 
+L0006 ldb   ,x+ 
+ stb   ,u+ 
+ bpl   L0006 
+ andb  #$7f 
+ stb   -1,u 
+ clr   ,u 
+ ldd   4,s 
+ puls  u,pc 
+
+ endsect  
+