Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/strncmp.as @ 3055:35db67ca1302
level1 krn: Fix signal dispatch code to use R$ macros
And also add comments to it!
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 25 Jan 2015 22:36:02 +0100 |
parents | 1647f1874cdf |
children |
rev | line source |
---|---|
2824 | 1 * Disassembly by Os9disasm of strncmp.r |
2 | |
3 section code | |
4 | |
5 strncmp: pshs y,u | |
6 ldx 6,s | |
7 ldu 8,s | |
8 ldy 10,s | |
9 beq L001f | |
10 bra L0015 | |
11 L000d leay -1,y | |
12 beq L001f | |
13 ldb ,u+ | |
14 beq L001f | |
15 L0015 ldb ,u | |
16 subb ,x+ | |
17 beq L000d | |
18 negb | |
19 sex | |
20 bra L0021 | |
21 L001f clra | |
22 clrb | |
23 L0021 puls y,u,pc | |
24 | |
25 endsect | |
26 |