源程序如下:
MOV DX,143H
MOV AL,77H
OUT DX,AL
MOV AX,0
DEC DX
DEC DX
OUT DX,AL
MOV AL,AH
OUT DX,AL
设8253的端口地址为140H~143H。
源程序如下:
MOV DX,143H
MOV AL,77H
OUT DX,AL
MOV AX,0
DEC DX
DEC DX
OUT DX,AL
MOV AL,AH
OUT DX,AL
设8253的端口地址为140H~143H。