📄 ice159.lst
字号:
254 000BD 0000 nop
255 000BE 0E86 jbs port6, 2
256 000BF 0553 inc low_value1
257 000C0 0000 nop
258 000C1 0EC6 jbs port6, 3
259 000C2 0553 inc low_value1
260 000C3 0000 nop
261 /**************************************/
262 000C4 0A05 benchmark8: bs port5, 0 ;set P50 output 1,others input
263 000C5 1332 call delay
264 000C6 0C45 jbc port5, 1
265 000C7 0552 inc high_value1
266 000C8 0000 nop
267 000C9 0C85 jbc port5, 2
268 000CA 0552 inc high_value1
269 000CB 0000 nop
270 000CC 0CC5 jbc port5, 3
271 000CD 0552 inc high_value1
272 000CE 0000 nop
273 /**************************************/
274 000CF 0C06 jbc port6, 0
275 000D0 0552 inc high_value1
276 000D1 0000 nop
277 000D2 0C46 jbc port6, 1
278 000D3 0552 inc high_value1
279 000D4 0000 nop
280 000D5 0C86 jbc port6, 2
281 000D6 0552 inc high_value1
282 000D7 0000 nop
283 000D8 0CC6 jbc port6, 3
284 000D9 0552 inc high_value1
285 000DA 0000 nop
286
287 /**************************************/
288 000DB port50check:
289 000DB 0410 mov a, high_value
290 000DC 1D01 sub a, @0x01
291 000DD 0C03 jbc r3, 0
292 000DE 1740 jmp IO_error
293 000DF 0411 mov a, low_value
294 000E0 1D01 sub a, @0x01
295 000E1 0C03 jbc r3, 0
296 000E2 1740 jmp IO_error
297 000E3 0412 mov a, high_value1
298 000E4 1D01 sub a, @0x01
299 000E5 0C03 jbc r3, 0
300 000E6 1740 jmp IO_error
301 000E7 0413 mov a, low_value1
302 000E8 1D01 sub a, @0x01
303 000E9 0C03 jbc r3, 0
304 000EA 1740 jmp IO_error
305 000EB 180F mov a, @0x0f
306 000EC 0060 mov port50,a
307 /**************************************/
308 000ED input_check:
309 000ED 180E mov a, @0x0e ;set P50 output,others input
310 000EE 0005 iow P5CR
311 000EF 18FF mov a, @0xff
312 000F0 0006 iow P6CR
313 000F1 input0_check:
314 000F1 0805 bc port5, 0
315 000F2 1332 call delay
316 000F3 0E45 jbs port5, 1
317 000F4 0A21 bs port51, input0
318 000F5 0000 nop
319 000F6 0E85 jbs port5, 2
320 000F7 0A22 bs port52, input0
321 000F8 0000 nop
322 000F9 0EC5 jbs port5, 3
323 000FA 0A23 bs port53, input0
324 000FB 0000 nop
325 /**************************************/
326 000FC 0E06 jbs port6, 0
327 000FD 0A24 bs port60, input0
328 000FE 0000 nop
329 000FF 0E46 jbs port6, 1
330 00100 0A25 bs port61, input0
331 00101 0000 nop
332 00102 0E86 jbs port6, 2
333 00103 0A26 bs port62, input0
334 00104 0000 nop
335 00105 0EC6 jbs port6, 3
336 00106 0A27 bs port63, input0
337 00107 0000 nop
338 00108 0F06 jbs port6, 4
339 00109 0A28 bs port64, input0
340 0010A 0000 nop
341 0010B 0F46 jbs port6, 5
342 0010C 0A29 bs port65, input0
343 0010D 0000 nop
344 0010E 0F86 jbs port6, 6
345 0010F 0A2A bs port66, input0
346 00110 0000 nop
347 00111 0FC6 jbs port6, 7
348 00112 0A2B bs port67, input0
349 00113 0000 nop
350 /**************************************/
351 00114 input1_check:
352 00114 0A05 bs port5, 0
353 00115 1332 call delay
354 00116 0C45 jbc port5, 1
355 00117 0A61 bs port51, input1
356 00118 0000 nop
357 00119 0C85 jbc port5, 2
358 0011A 0A62 bs port52, input1
359 0011B 0000 nop
360 0011C 0CC5 jbc port5, 3
361 0011D 0A63 bs port53, input1
362 0011E 0000 nop
363 /**************************************/
364 0011F 0C06 jbc port6, 0
365 00120 0A64 bs port60, input1
366 00121 0000 nop
367 00122 0C46 jbc port6, 1
368 00123 0A65 bs port61, input1
369 00124 0000 nop
370 00125 0C86 jbc port6, 2
371 00126 0A66 bs port62, input1
372 00127 0000 nop
373 00128 0CC6 jbc port6, 3
374 00129 0A67 bs port63, input1
375 0012A 0000 nop
376 0012B 0D06 jbc port6, 4
377 0012C 0A68 bs port64, input1
378 0012D 0000 nop
379 0012E 0D46 jbc port6, 5
380 0012F 0A69 bs port65, input1
381 00130 0000 nop
382 00131 0D86 jbc port6, 6
383 00132 0A6A bs port66, input1
384 00133 0000 nop
385 00134 0DC6 jbc port6, 7
386 00135 0A6B bs port67, input1
387 00136 0000 nop
388 /**************************************/
389 00137 output_check:
390 00137 0000 nop
391 00138 0000 nop
392 00139 port51_check:
393 00139 180D mov a, @0x0d ;set P51 output,others input
394 0013A 0005 iow P5CR
395 0013B 18FF mov a, @0xff
396 0013C 0006 iow P6CR
397 0013D 0A45 bs port5, 1
398 0013E 1332 call delay
399 0013F 0C05 jbc port5, 0
400 00140 0AE1 bs port51, output1
401 00141 0000 nop
402 00142 0845 bc port5, 1
403 00143 1332 call delay
404 00144 0E05 jbs port5, 0
405 00145 0AA1 bs port51, output0
406 /**************************************/
407 00146 port52_check:
408 00146 180B mov a, @0x0b ;set P52 output,others input
409 00147 0005 iow P5CR
410 00148 18FF mov a, @0xff
411 00149 0006 iow P6CR
412 0014A 0A85 bs port5, 2
413 0014B 1332 call delay
414 0014C 0C05 jbc port5, 0
415 0014D 0AE2 bs port52, output1
416 0014E 0000 nop
417 0014F 0885 bc port5, 2
418 00150 1332 call delay
419 00151 0E05 jbs port5, 0
420 00152 0AA2 bs port52, output0
421 /**************************************/
422 00153 port53_check:
423 00153 1807 mov a, @0x07 ;set P53 output,others input
424 00154 0005 iow P5CR
425 00155 18FF mov a, @0xff
426 00156 0006 iow P6CR
427 00157 0AC5 bs port5, 3
428 00158 1332 call delay
429 00159 0C05 jbc port5, 0
430 0015A 0AE3 bs port53, output1
431 0015B 0000 nop
432 0015C 08C5 bc port5, 3
433 0015D 1332 call delay
434 0015E 0E05 jbs port5, 0
435 0015F 0AA3 bs port53, output0
436 /**************************************/
437 00160 port60_check:
438 00160 180F mov a, @0x0f ;set P60 output,others input
439 00161 0005 iow P5CR
440 00162 18FE mov a, @0xfe
441 00163 0006 iow P6CR
442 00164 0A06 bs port6, 0
443 00165 1332 call delay
444 00166 0C05 jbc port5, 0
445 00167 0AE4 bs port60, output1
446 00168 0000 nop
447 00169 0806 bc port6, 0
448 0016A 1332 call delay
449 0016B 0E05 jbs port5, 0
450 0016C 0AA4 bs port60, output0
451 /**************************************/
452 0016D port61_check:
453 0016D 180F mov a, @0x0f ;set P61 output,others input
454 0016E 0005 iow P5CR
455 0016F 18FD mov a, @0xfd
456 00170 0006 iow P6CR
457 00171 0A46 bs port6, 1
458 00172 1332 call delay
459 00173 0C05 jbc port5, 0
460 00174 0AE5 bs port61, output1
461 00175 0000 nop
462 00176 0846 bc port6, 1
463 00177 1332 call delay
464 00178 0E05 jbs port5, 0
465 00179 0AA5 bs port61, output0
466 /**************************************/
467 0017A port62_check:
468 0017A 180F mov a, @0x0f ;set P62 output,others input
469 0017B 0005 iow P5CR
470 0017C 18FB mov a, @0xfb
471 0017D 0006 iow P6CR
472 0017E 0A86 bs port6, 2
473 0017F 1332 call delay
474 00180 0C05 jbc port5, 0
475 00181 0AE6 bs port62, output1
476 00182 0000 nop
477 00183 0886 bc port6, 2
478 00184 1332 call delay
479 00185 0E05 jbs port5, 0
480 00186 0AA6 bs port62, output0
481 /**************************************/
482 00187 port63_check:
483 00187 180F mov a, @0x0f ;set P63 output,others input
484 00188 0005 iow P5CR
485 00189 18F7 mov a, @0xf7
486 0018A 0006 iow P6CR
487 0018B 0AC6 bs port6, 3
488 0018C 1332 call delay
489 0018D 0C05 jbc port5, 0
490 0018E 0AE7 bs port63, output1
491 0018F 0000 nop
492 00190 08C6 bc port6, 3
493 00191 1332 call delay
494 00192 0E05 jbs port5, 0
495 00193 0AA7 bs port63, output0
496 /**************************************/
497 00194 port64_check:
498 00194 180F mov a, @0x0f ;set P64 output,others input
499 00195 0005 iow P5CR
500 00196 18EF mov a, @0xef
501 00197 0006 iow P6CR
502 00198 0B06 bs port6, 4
503 00199 1332 call delay
504 0019A 0C05 jbc port5, 0
505 0019B 0AE8 bs port64, output1
506 0019C 0000 nop
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -