📄 delay.asm
字号:
;**********************************
;* The Delay routines *
;* *
;* used by Wait <time> *
;**********************************
include tempdemo.inc
global longdelay, shortdelay
PROG CODE
longdelay movwf tempone
ldloop1 clrf temptwo
ldloop2 decfsz temptwo, F ;becomes 11111111
goto ldloop2
decfsz tempone, F
goto ldloop1
return
shortdelay movwf tempone
sdloop decfsz tempone, F
goto sdloop
return
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -