20
ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
nop
ret
readchip endp
writechip proc
out 22h, al
nop
nop
xchg ah, al
out 23h, al
nop
nop
xchg ah, al
ret
writechip endp
end main
Reset watchdog timer
Resets the watchdog timer periodically to prevent timeout.
mov ax, 0c513h ; Unlock configuration
; register
call writechip
mov ax, 03C3Ch ; Reset watchdog timer
; counter
call readchip
or al, 0100 0000 ; The counter is reset at
xchg ah, al ; out 23h, al
call writechip
mov ax, 00013h ; Lock configuration
; register