📄 led8x8基本顯示.asm
字号:
;=================================
column equ 30h
disp_buf1 equ 40h
disp_buf2 equ 41h
disp_buf3 equ 42h
disp_buf4 equ 43h
disp_buf5 equ 44h
disp_buf6 equ 45h
disp_buf7 equ 46h
disp_buf8 equ 47h
;=================================
org 0h
jmp start
org 0bh
jmp timer0_int
;=================================
start:
mov sp,#70h
mov disp_buf1,#00000000B
mov disp_buf2,#00111110B
mov disp_buf3,#01010000B
mov disp_buf4,#10010000B
mov disp_buf5,#01010000B
mov disp_buf6,#00111110B
mov disp_buf7,#00000000B
mov disp_buf8,#00000000B
mov r3,#8 ;砞﹚LED8X8苯磞
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -