comparison 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
comparison
equal deleted inserted replaced
2823:ad769d2a03e4 2824:1647f1874cdf
1 * Disassembly by Os9disasm of memccpy.r
2
3 section code
4
5 memccpy: pshs y,u
6 ldu 8,s
7 ldx 6,s
8 ldy 12,s
9 beq L001b
10 L000b lda ,u+
11 sta ,x+
12 cmpa 11,s
13 bne L0017
14 tfr u,d
15 bra L001d
16 L0017 leay -1,y
17 bne L000b
18 L001b tfr y,d
19 L001d puls y,u,pc
20
21 endsect
22