Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/realloc.as @ 3027:32a23a8c3332
Fix for all ide rbsuper descripters being set for drive 0
author | chawks4 |
---|---|
date | Fri, 12 Dec 2014 20:48:42 -0600 |
parents | 1647f1874cdf |
children |
rev | line source |
---|---|
2824 | 1 * Disassembly by Os9disasm of realloc.r |
2 | |
3 section code | |
4 | |
5 realloc: pshs d,y,u | |
6 ldd 10,s | |
7 std ,s | |
8 lbsr malloc | |
9 std ,s | |
10 beq L003d | |
11 cmpd 8,s | |
12 beq L003d | |
13 ldu 8,s | |
14 beq L003d | |
15 tfr d,x | |
16 ldu 8,s | |
17 ldd -2,u | |
18 subd #1 | |
19 lslb | |
20 rola | |
21 lslb | |
22 rola | |
23 cmpd 10,s | |
24 bls L002a | |
25 ldd 10,s | |
26 L002a tfr d,y | |
27 L002c ldd ,u++ | |
28 std ,x++ | |
29 leay -2,y | |
30 bne L002c | |
31 ldd 8,s | |
32 pshs d | |
33 lbsr free | |
34 puls d | |
35 L003d puls d,y,u,pc | |
36 | |
37 endsect | |
38 |