微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > 花样流水灯的设计4(单片机-汇编)

花样流水灯的设计4(单片机-汇编)

时间:11-30 来源:互联网 点击:

db11000011b

db 10100101b

db 01100110b

Table10: db Table11-$-1

db 01111111b

db 10111111b

db 11011111b

db 11101111b

db 11110111b

db 11111011b

db 11111101b

db 11111110b

db 01111110b

db 10111110b

db 11011110b

db 11101110b

db 11110110b

db 11111010b

db 11111100b

db 01111100b

db 10111100b

db 11011100b

db 11101100b

db 11110100b

db 11111000b

db 01111000b

db 10111000b

db 11011000b

db 11101000b

db 11110000b

db 01110000b

db 10110000b

db 11010000b

db 11100000b

db 01100000b

db 10100000b

db 11000000b

db 01000000b

db 10000000b

db 10000000b

db 10000000b

db 01000000b

db 11000000b

db 10100000b

db 01100000b

db 11100000b

db 11010000b

db 10110000b

db 01110000b

db 11110000b

db 11101000b

db 11011000b

db 10111000b

db 01111000b

db 11111000b

db 11110100b

db 11101100b

db 11011100b

db 10111100b

db 01111100b

db 11111100b

db 11111010b

db 11110110b

db 11101110b

db 11011110b

db 10111110b

db 01111110b

db 11111110b

db 11111101b

db 11111011b

db 11110111b

db 11101111b

db 11011111b

db 10111111b

db 01111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

db 11111111b

Table11: db Table12-$-1

db 11111110b

db 01111111b

db 11111101b

db 10111111b

db 11111011b

db 11011111b

db 11110111b

db 11101111b

db 11110111b

db 11101111b

db 11111011b

db 11011111b

db 11111101b

db 10111111b

Table12: db Table13-$-1

db 00111100b

db 11111111b

db 11100111b

db 11111111b

db 11011011b

db 11011011b

db 11011011b

db 11011011b

Table13: db Table14-$-1

db 01111110b

db 11111111b

db 10111101b

db 11111111b

db 10111101b

db 11111111b

db 11011011b

db 11111111b

db 11011011b

db 11111111b

db 11011011b

db 11111111b

db 11100111b

db 11111111b

db 11100111b

db 11111111b

db 11100111b

db 11111111b

db 11100111b

db 11111111b

db 00000000b

Table14: db Table15-$-1

db 11111110b

db 11111100b

db 11111010b

db 11110100b

db 11101100b

db 11011010b

db 10111010b

db 01110101b

db 01110101b

db 01101101b

db 01101101b

db 01011011b

db 01011011b

db 00111011b

db 00111011b

db 00110111b

db 00110111b

db 00110111b

db 00110111b

db 00101111b

db 00101111b

db 00101111b

db 00101111b

db 00011111b

db 00011111b

db 00011111b

db 00011111b

db 00011111b

db 00011111b

Table15: db TableEnd-$-1

db 01111110b

db 10111110b

db 11011101b

db 11101101b

db 11110011b

db 11101101b

db 11011101b

db 10111110b

TableEnd:

;-----------------------

main:

mov Ledprt,#11111111B

mov r2,#0

mov SegDisplay,#00H ;Initiate the SegDisplay

MOV DPTR,#ButtonTable

ToNext:

inc r2 ;Button Number

CLR A

MOVC A,@A+DPTR

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top