User`s manual

122
C
Watchdog Timer
inc dx
out dx, al
mov dx, Secondio_Config_Port
mov al, 61H
out dx, al
mov al, 00H
inc dx
out dx, al
mov dx, Secondio_Config_Port
mov al, 0F0H
out dx, al
mov al, 03H
inc dx
out dx, al
mov dx, Secondio_Config_Port
mov al, 0F1H
out dx, al
mov al, Watch_Dog_Timer
inc dx
out dx, al
mov dx, Secondio_Config_Port
mov al, 0F1H
out dx, al
mov al, Watch_Dog_Timer ; Set the watchdog timer
inc dx
out dx, al
mov dx, Secondio_Config_Port
mov al, 0AAH
out dx, al
mov ah,4ch
int 21H
;——-—————————————————
code ends
;***************************************
end start