Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/memcmp.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 |
rev | line source |
---|---|
2824 | 1 * Disassembly by Os9disasm of memcmp.r |
2 | |
3 section code | |
4 | |
5 memcmp: pshs y,u | |
6 ldx 6,s | |
7 cmpx 8,s | |
8 beq L001d | |
9 ldu 8,s | |
10 ldy 10,s | |
11 beq L001d | |
12 L000f ldb ,u+ | |
13 subb ,x+ | |
14 beq L0019 | |
15 negb | |
16 sex | |
17 bra L001f | |
18 L0019 leay -1,y | |
19 bne L000f | |
20 L001d clra | |
21 clrb | |
22 L001f puls y,u,pc | |
23 | |
24 endsect | |
25 |