资源描述:
《简单的LED闪烁控制程序.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、ORG00HSTART:MOVDPTR,#TABLE1SJMPDIRDIR1:MOVDPTR,#TABLE2DIR:MOVR0,#00HMOVR1,#01HNEXT:MOVA,R0MOVCA,@A+DPTRMOVP0,AMOVA,R1MOVP2,ALCALLDELAYINCR0RLAMOVR1,ACJNER1,#0DFH,NEXTSJMPSTARTDELAY:MOVR4,#1D1:MOVR5,#248DJNZR5,$DJNZR4,D1DJNZR3,DELAYRETTABLE1:DB0DFH,0FFH,0DFH,0
2、FFH,0DFH,0FFHDB0CFH,0F7H,0DBH,0FDH,0DEH,0FFH,0CFH,0F7H,0DBH,0FDH,0DEH,0FFH,0CFH,0F7H,0DBH,0FDH,0DEH,0FFHDB0DFH,0FFH,0DFH,0FFHDB0C0H,0FFH,0C0H,0FFH,0C0H,0FFHDB0DFH,0FFH,0DFH,0FFHDB0C7H,0FFH,0C7H,0FFH,0C7H,0FFHDB0D8H,0FFH,0D8H,0FFH,0D8H,0FFHDB0DFH,0FFH,0DFH,0FF
3、HDB0C0H,0FFH,0C0H,0FFH,0C0H,0FFHDB01HTABLE2:DB0DFH,0FFH,0DFH,0FFH,0DFH,0FFHDB0CFH,0F7H,0DBH,0FDH,0DEH,0FFH,0CFH,0F7H,0DBH,0FDH,0DEH,0FFH,0CFH,0F7H,0DBH,0FDH,0DEH,0FFHDB0DFH,0FFH,0DFH,0FFHDB0C0H,0FFH,0C0H,0FFH,0C0H,0FFHDB0DFH,0FFH,0DFH,0FFHDB0C7H,0FFH,0C7H,0FF
4、H,0C7H,0FFHDB0D8H,0FFH,0D8H,0FFH,0D8H,0FFHDB0DFH,0FFH,0DFH,0FFHDB0C0H,0FFH,0C0H,0FFH,0C0H,0FFHDB01HEND