单片机延时0,2秒汇编程序,

2024-10-31 15:15:40
推荐回答(1个)
回答1:

R2 倍数 12mhz
MOV R2,#20 ; 0.2s
DELAY10MS: ;10ms
START: MOV R7,#01H
DL1: MOV R6,#0DEH
DL0: MOV R5,#15H
DJNZ R5,$
DJNZ R6,DL0
DJNZ R7,DL1
DJNZ R2,START
RET