view lib/kreiderclib/memcpy.as @ 2866:854ef52e512f lwtools-port

3rdparty/packages/arcadepak: Resolve ia.fnt copy conflict Smash and Thexter ship the same ia.fnt file so to avoid "file already exists" errors when copying these files to the disk image, use os9copy -r to overwrite.
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 01 Oct 2013 00:04:17 +0200
parents 1647f1874cdf
children
line wrap: on
line source

* 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