Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/strncat.as @ 3226:9749d0dfc4a2
Changed a puls PC to rts to save cycles
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Sat, 20 Jan 2018 19:32:22 -0600 |
parents | 1647f1874cdf |
children |
rev | line source |
---|---|
2824 | 1 * Disassembly by Os9disasm of strncat.r |
2 | |
3 section code | |
4 | |
5 strncat: pshs y,u | |
6 ldu 8,s | |
7 ldx 6,s | |
8 ldy 10,s | |
9 beq L001e | |
10 L000b ldb ,x+ | |
11 bne L000b | |
12 leax -1,x | |
13 L0011 ldb ,u+ | |
14 stb ,x+ | |
15 leay -1,y | |
16 beq L001c | |
17 tstb | |
18 bne L0011 | |
19 L001c clr ,x | |
20 L001e ldd 4,s | |
21 puls y,u,pc | |
22 | |
23 endsect | |
24 |