view lib/kreiderclib/memcpy.as @ 3136:820bc08befa5

Add new sysgo variant from Bob Devries with sysgo.cfg support Add the text file "level2/sys/sysgo.cfg" to faciliate the new "sysgo_bd".
author Bill Pierce <merlinious999@gmail.com>
date Sat, 04 Feb 2017 02:10:35 +0100
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