77 Appendix C
The following example shows how you might program the watchdog
timer in ASSEMBLY:
;Watchdog timer example program
MOV DX, 865H ; set the time unit as second
MOV AL, 80H
OUT DX, AL
MOV DX,866H
MOV AL, data ; data=1~255 Second
OUT DX, AL