annotate 3rdparty/customboots/boisy/testsync.a @ 3295:6b7a7b233925 default tip

makefile: Allow PORTS with level1/2 mix https://sourceforge.net/p/nitros9/feature-requests/10/
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 19 Apr 2022 18:12:17 +0200
parents 6bc8200fd0ba
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2471
boisy
parents:
diff changeset
1 tylg set $01 Prgrm+Objct
boisy
parents:
diff changeset
2 atrv set $80+rev ReEnt+rev
boisy
parents:
diff changeset
3 rev set $00
boisy
parents:
diff changeset
4 edition set 5
boisy
parents:
diff changeset
5
boisy
parents:
diff changeset
6 psect testsync_a,tylg,atrv,edition,200,start
boisy
parents:
diff changeset
7
boisy
parents:
diff changeset
8 vsect
boisy
parents:
diff changeset
9 reg1 rmb 2
boisy
parents:
diff changeset
10 reg2 rmb 2
boisy
parents:
diff changeset
11 endsect
boisy
parents:
diff changeset
12
boisy
parents:
diff changeset
13 * capture two parameters
boisy
parents:
diff changeset
14 start ldd #0000
boisy
parents:
diff changeset
15 std reg1,u
boisy
parents:
diff changeset
16 std reg2,u
boisy
parents:
diff changeset
17
boisy
parents:
diff changeset
18 * if no params, just go straight to multiplication
boisy
parents:
diff changeset
19 lda ,x
boisy
parents:
diff changeset
20 cmpa #C$CR
boisy
parents:
diff changeset
21 beq top
boisy
parents:
diff changeset
22
boisy
parents:
diff changeset
23 * get first number
boisy
parents:
diff changeset
24 lbsr DEC_BIN
boisy
parents:
diff changeset
25 std reg1,u
boisy
parents:
diff changeset
26 leax ,y
boisy
parents:
diff changeset
27 lbsr TO_NON_SP
boisy
parents:
diff changeset
28
boisy
parents:
diff changeset
29 * if no second number, go straight to multiplication
boisy
parents:
diff changeset
30 cmpb #C$CR
boisy
parents:
diff changeset
31 beq go
boisy
parents:
diff changeset
32 lbsr DEC_BIN
boisy
parents:
diff changeset
33 std reg2,u
boisy
parents:
diff changeset
34
boisy
parents:
diff changeset
35 ldx reg1,u
boisy
parents:
diff changeset
36 ldy reg2,u
boisy
parents:
diff changeset
37
boisy
parents:
diff changeset
38 go
boisy
parents:
diff changeset
39 orcc #IntMasks
boisy
parents:
diff changeset
40 top
boisy
parents:
diff changeset
41 sync
boisy
parents:
diff changeset
42 sync
boisy
parents:
diff changeset
43 sync
boisy
parents:
diff changeset
44 sync
boisy
parents:
diff changeset
45 sync
boisy
parents:
diff changeset
46 sync
boisy
parents:
diff changeset
47 sync
boisy
parents:
diff changeset
48 sync
boisy
parents:
diff changeset
49 sync
boisy
parents:
diff changeset
50 sync
boisy
parents:
diff changeset
51 sync
boisy
parents:
diff changeset
52 sync
boisy
parents:
diff changeset
53 sync
boisy
parents:
diff changeset
54 sync
boisy
parents:
diff changeset
55 sync
boisy
parents:
diff changeset
56 sync
boisy
parents:
diff changeset
57 sync
boisy
parents:
diff changeset
58 sync
boisy
parents:
diff changeset
59 sync
boisy
parents:
diff changeset
60 sync
boisy
parents:
diff changeset
61 sync
boisy
parents:
diff changeset
62 sync
boisy
parents:
diff changeset
63 sync
boisy
parents:
diff changeset
64 sync
boisy
parents:
diff changeset
65 sync
boisy
parents:
diff changeset
66 sync
boisy
parents:
diff changeset
67 sync
boisy
parents:
diff changeset
68 sync
boisy
parents:
diff changeset
69 sync
boisy
parents:
diff changeset
70 sync
boisy
parents:
diff changeset
71 sync
boisy
parents:
diff changeset
72 sync
boisy
parents:
diff changeset
73 sync
boisy
parents:
diff changeset
74 sync
boisy
parents:
diff changeset
75 sync
boisy
parents:
diff changeset
76 sync
boisy
parents:
diff changeset
77 sync
boisy
parents:
diff changeset
78 sync
boisy
parents:
diff changeset
79 sync
boisy
parents:
diff changeset
80 sync
boisy
parents:
diff changeset
81 sync
boisy
parents:
diff changeset
82 sync
boisy
parents:
diff changeset
83 sync
boisy
parents:
diff changeset
84 sync
boisy
parents:
diff changeset
85 sync
boisy
parents:
diff changeset
86 sync
boisy
parents:
diff changeset
87 sync
boisy
parents:
diff changeset
88 sync
boisy
parents:
diff changeset
89 sync
boisy
parents:
diff changeset
90 sync
boisy
parents:
diff changeset
91 sync
boisy
parents:
diff changeset
92 sync
boisy
parents:
diff changeset
93 sync
boisy
parents:
diff changeset
94 sync
boisy
parents:
diff changeset
95 sync
boisy
parents:
diff changeset
96 sync
boisy
parents:
diff changeset
97 sync
boisy
parents:
diff changeset
98 sync
boisy
parents:
diff changeset
99 sync
boisy
parents:
diff changeset
100 sync
boisy
parents:
diff changeset
101 sync
boisy
parents:
diff changeset
102 sync
boisy
parents:
diff changeset
103 sync
boisy
parents:
diff changeset
104 sync
boisy
parents:
diff changeset
105 sync
boisy
parents:
diff changeset
106 sync
boisy
parents:
diff changeset
107 sync
boisy
parents:
diff changeset
108 sync
boisy
parents:
diff changeset
109 sync
boisy
parents:
diff changeset
110 sync
boisy
parents:
diff changeset
111 sync
boisy
parents:
diff changeset
112 sync
boisy
parents:
diff changeset
113 sync
boisy
parents:
diff changeset
114 sync
boisy
parents:
diff changeset
115 sync
boisy
parents:
diff changeset
116 sync
boisy
parents:
diff changeset
117 sync
boisy
parents:
diff changeset
118 sync
boisy
parents:
diff changeset
119 sync
boisy
parents:
diff changeset
120 sync
boisy
parents:
diff changeset
121 sync
boisy
parents:
diff changeset
122 sync
boisy
parents:
diff changeset
123 sync
boisy
parents:
diff changeset
124 sync
boisy
parents:
diff changeset
125 sync
boisy
parents:
diff changeset
126 sync
boisy
parents:
diff changeset
127 sync
boisy
parents:
diff changeset
128 sync
boisy
parents:
diff changeset
129 sync
boisy
parents:
diff changeset
130 sync
boisy
parents:
diff changeset
131 sync
boisy
parents:
diff changeset
132 sync
boisy
parents:
diff changeset
133 sync
boisy
parents:
diff changeset
134 sync
boisy
parents:
diff changeset
135 sync
boisy
parents:
diff changeset
136 sync
boisy
parents:
diff changeset
137 sync
boisy
parents:
diff changeset
138 sync
boisy
parents:
diff changeset
139 sync
boisy
parents:
diff changeset
140 sync
boisy
parents:
diff changeset
141 sync
boisy
parents:
diff changeset
142 sync
boisy
parents:
diff changeset
143 sync
boisy
parents:
diff changeset
144 sync
boisy
parents:
diff changeset
145 sync
boisy
parents:
diff changeset
146 sync
boisy
parents:
diff changeset
147 sync
boisy
parents:
diff changeset
148 sync
boisy
parents:
diff changeset
149 sync
boisy
parents:
diff changeset
150 sync
boisy
parents:
diff changeset
151 sync
boisy
parents:
diff changeset
152 sync
boisy
parents:
diff changeset
153 sync
boisy
parents:
diff changeset
154 sync
boisy
parents:
diff changeset
155 sync
boisy
parents:
diff changeset
156 sync
boisy
parents:
diff changeset
157 sync
boisy
parents:
diff changeset
158 sync
boisy
parents:
diff changeset
159 sync
boisy
parents:
diff changeset
160 sync
boisy
parents:
diff changeset
161 bra top
boisy
parents:
diff changeset
162
boisy
parents:
diff changeset
163
boisy
parents:
diff changeset
164
boisy
parents:
diff changeset
165 endsect