time.asm
来自「153按收红外遥控码源码,大edsafasfas」· 汇编 代码 · 共 32 行
ASM
32 行
;===============================================
; 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 + =
减小字号Ctrl + -
显示快捷键?