交通灯指挥系统的总体设计报告(15)
发布时间:2021-06-08
发布时间:2021-06-08
cmp bl,7 jnz CASE8 mov al,07H JMP SHW
CASE8: cmp bl,8 jnz CASE9 mov al,7FH JMP SHW
CASE9: cmp bl,9 jnz SHW
MOV AL,6FH
SHW:
MOV DX,D8279 OUT DX,AL RET
TRANS ENDP
DELAY1 PROC NEAR PUSH DX PUSH Ax jshi:
MOV DX,D8255B IN AL,DX
AND AL,00000001B CMP AL,SIGN1 JZ jshi
MOV SIGN1,AL
POP Ax POP DX
RET
DELAY1 ENDP
DELAY10 PROC NEAR PUSH AX PUSH CX
检测PB0 时钟信号,是否到一秒了 ;
下一篇:皮带机安全检查表