📄 text3.asm
字号:
star:
clr p1.0
acall delay
setb p1.0
clr p1.1
acall delay
setb p1.1
clr p1.2
acall delay
setb p1.2
clr p1.3
acall delay
setb p1.3
clr p1.4
acall delay
setb p1.4
clr p1.5
acall delay
setb p1.5
clr p1.6
acall delay
setb p1.6
clr p1.7
acall delay
setb p1.7
ljmp star
DELAY: MOV R5,#10 ;如果你的计算机性能太好,就把这个值加大吧,反之减小它
D1: MOV R7,#250
D2: MOV R6,#250
D3: DJNZ R6,D3
DJNZ R7,D2
DJNZ R5,D1
RET
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -