📄 time.asm
字号:
;===============================================
; Function:延迟25ms
;===============================================
delay_25ms:
clr Time_Int_Count
con_delay_25ms:
mov a,Time_Int_Count
sub a,@250d
jbs FLAG,@Z
jmp con_delay_25ms
ret
;===============================================
; Function:延迟1s
;===============================================
delay_1s:
clr AudCnt3
con_delay_1s:
call delay_25ms
inc AudCnt3
mov a,AudCnt3
sub a,@20d
jbs FLAG,@Z
jmp con_delay_1s
ret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -