2824
|
1 * Disassembly by Os9disasm of ccmod.r
|
|
2
|
|
3 section bss
|
|
4
|
|
5 * Uninitialized data (class B)
|
|
6 B0000 rmb 1
|
|
7 B0001 rmb 2
|
|
8 * Initialized Data (class G)
|
|
9
|
|
10 endsect
|
|
11
|
|
12 section code
|
|
13
|
|
14 ccumod: clr B0000,y
|
|
15 leax ccudiv,pcr
|
|
16 stx B0001,y
|
|
17 bra L0022
|
|
18 ccmod: leax ccdiv,pcr
|
|
19 stx B0001,y
|
|
20 clr B0000,y
|
|
21 tst 2,s
|
|
22 bpl L0022
|
|
23 inc B0000,y
|
|
24 L0022 subd #0
|
|
25 bne L002d
|
|
26 puls x
|
|
27 ldd ,s++
|
|
28 jmp ,x
|
|
29 L002d ldx 2,s
|
|
30 pshs x
|
|
31 jsr [B0001,y]
|
|
32 ldd ,s
|
|
33 std 2,s
|
|
34 tfr x,d
|
|
35 tst B0000,y
|
|
36 beq L0045
|
|
37 nega
|
|
38 negb
|
|
39 sbca #0
|
|
40 L0045 std ,s++
|
|
41 rts
|
|
42
|
|
43 endsect
|
|
44
|