view lib/kreiderclib/memcpy.as @ 3162:c44cd20907bd

sysgo.asm: Delete trailing whitespace, fix indent (no functional change) Add comments and vertical whitespace for readability.
author Neal Crook <foofoobedoo@gmail.com>
date Thu, 06 Apr 2017 22:04:46 +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