Problems! Message #12 Posted by Artur - Brasil on 24 July 2005, 7:27 p.m., in response to message #4 by Artur - Brasil
Hi, Gene and other guys,
I have reformated the program listing and saw some problems:
-lines 183,187,209 - are they empty?
-lines 184,188,217, 259 show X="0?" - is that correct?
Best regards,
Artur
ps: my reformated program listing, for better printing (copy and paste):
<table BORDER=1 style="page-break-before:always;" width="90%"><tr VALIGN=TOP>
<td width="50%"><pre>
Lin Instruction
01 LBL "BCD"
02 CF 10
03 LBL 04
04 CF 12
05 ACA
06 PRX
07 ADV
08 CLRG
09 ABS
10 INT
11 X = 0?
12 SIGN
13 13
14 X > Y?
15 X <> Y
16 STO 06
17 12
18 +
19 PSIZE
20 1
21 -
22 1 E3
23 /
24 STO 03
25 SF 25
26 SAVEP
27 FIX 0
28 CF 29
29 RCLPTA
30 2
31 -
32 STO 05
33 LASTX
34 +
35 ACX
36 FLSIZE
37 X <> Y
38 " BYTES"
39 ACA
40 ADV
41 RCL 06
42 /
43 INT
44 LASTX
45 FRC
46 X NE 0?
47 SIGN
48 +
49 "="
50 ACA
51 ACX
52 " ROWS"
53 ACA
54 ADV
55 ADV
56 SF 12
57 RDN
58 CLA
59 32
60 XTOA
</pre>
</td>
<td><pre>
61 RDN
62 190
63 XTOA
64 RDN
65 0
66 XTOA
67 XTOA
68 XTOA
69 RDN
70 256
71 /
72 XTOA
73 LASTX
74 *
75 LASTX
76 MOD
77 XTOA
<FONT face=Tahoma size=2>
Note: Stop here, press GTO . ., and scan in
the barcode for the small program for RCL M.
Clear the END created just after the XTOA step
above, and then delete the steps of the new small
program except for the next line, RCL M.
</font>
78 RCL M
79 XEQ 06
80 STO 06
81 SF 08
82 1
83 STO 01
84 XEQ 08
85 CLA
86 192
87 XTOA
88 RDN
89 0
90 XTOA
91 RDN
92 47
93 XTOA
94 RDN
95 3
96 STO 04
97 STO 05
98 XEQ 11
99 FS?C 09
100 XEQ 05
101 RCL 06
102 BEEP
103 PWRDN
104 LBL 06
105 CLA
106 11
107 XTOA
108 RDN
109 224
110 XTOA
111 RDN
112 1
113 XTOA
114 RDN
</PRE></TD></TR></TABLE>
<BR>
<table BORDER =1 style="page-break-before:always;" width="90%"><tr VALIGN=TOP>
<td width="50%"><pre>
115 105
116 XTOA
117 RDN
118 11
119 XTOA
120 RDN
121 224
122 XTOA
123 RDN
124 176
125 XTOA
126 RDN
<FONT face=Tahoma size=2>
Note: Stop here, press GTO . ., and scan in
the barcode for the small program for RCL M.
Clear the END created just after the RDN step
above, and then delete the steps of the new small
program except for the next line, RCL M.
</font>
127 RCL M
<FONT face=Tahoma size=2>
Note: Stop here, press GTO . ., and scan in
the barcode for the small program for X <> c.
Clear the END created just after the RCL M step
above, and then delete the steps of the new small
program except for the next line, X <> c.
</font>
128 X <> c
129 X <> Y
130 X <> 00
131 X <> Y
<FONT face=Tahoma size=2>
Note: Stop here, press GTO . ., and scan in
the barcode for the small program for X <> c.
Clear the END created just after the X <> Y step
above, and then delete the steps of the new small
program except for the next line, X <> c.
</font>
132 X <> c
133 X <> Y
134 CLST
135 +
136 RTN
137 GTO 04
138 LBL 15
139 ISG 03
140 GTO 02
141 XEQ 05
142 LBL 08
143 RCL 03
144 FRC
145 12
146 +
147 STO 03
148 16
149 RCL 01
150 1
151 -
152 *
153 STO 11
154 LBL 02
</pre>
</td>
<td><pre>
155 DSE 05
156 GTO 02
157 RTN
158 LBL 02
159 DSE 04
160 GTO 11
161 7
162 STO 04
163 GETX
<FONT face=Tahoma size=2>
Note: Stop here, press GTO . ., and scan in
the barcode for the small program for STO M.
Clear the END created just after the GETX step
above, and then delete the steps of the new small
program except for the next line, STO M.
</font>
164 STO M
165 LBL 11
166 SF 09
167 ALENG
168 RCL 04
169 X NE Y?
170 0
171 X = Y?
172 ATOX
173 ENTER
174 STO IND 03
175 ST+ 09
176 DSE 01
177 GTO 15
178 143
179 -
180 X <= 0?
181 97
182 64
<b>183</b>
184 X <="0?"
185 34
186 32
<b>187</b>
188 X <="0?"
189 3
190 STO 01
191 STO 07
192 GTO 15
193 LBL 05
194 CF 09
195 RCL 08
196 16
197 MOD
198 LASTX
199 FS? 10
</PRE></TD></TR></TABLE>
<BR>
<table BORDER =1 style="page-break-before:always;" width="90%"><tr VALIGN=TOP>
<td width="50%"><pre>
200 ST+ X
201 +
202 ST+ 09
203 STO 10
204 ISG 08
205 DEG
206 RCL 07
207 RCL 01
208 DSE X
<b>209</b>
210 RCL 11
211 +
212 STO 11
213 RCL 09
214 +
215 255
216 MOD
217 X="0?"
218 LASTX
219 STO 09
220 ASTO 02
221 RCL 03
222 INT
223 8999
224 +
225 1 E3
226 /
227 STO 00
228 LBL 12
229 RCL 08
230 ACX
231 ADV
232 ADV
233 ADV
234 PWRDN
235 PWRUP
236 AUTOIO
237 SF 17
238 CLX
239 ACCOL
240 118
241 RCL 03
242 INT
243 +
244 CLA
</pre>
</td>
<td><pre>
245 27
246 XTOA
247 RDN
248 49
249 XTOA
250 RDN
251 XTOA
252 OUTA
253 RCL 00
254 LBL 13
255 RCL IND X
256 CLA
257 XTOA
258 SF 25
259 X="0?"
260 ACCOL
261 X NE 0?
262 OUTA
263 RDN
264 INSTAT
265 FS? 03
266 GTO 14
267 RDN
268 ISG X
269 GTO 13
270 ADV
271 ADV
272 ADV
273 ADV
274 ADV
275 ADV
276 CLA
277 ARCL 02
278 RTN
279 LBL 14
280 PWRDN
281 "PAPER"
282 BEEP
283 BEEP
284 PROMPT
285 RCL 00
286 GTO 12
287 END
</PRE>
</td></tr>
</table>
<hr>
That's it. Hope it's useful!<br>
Reformated by Artur - 2005.
</body></html>
|