例: 方案1: org 0000h ajmp beg org 000bh ajmp time00 reti org 0100h beg: ... loop:
ajmp loop
time00:2ms acall disp;;16个led灯
reti
方案2:还是这样好! time00:2ms setb 20h reti
loop: jbc 20h,rundisp sjmp loop1 rundisp:acall disp;;16led显示;; loop1: ..
ajmp loop
有看法的说说!谢谢
|