85 AIMB-581 User ManualAppendix A Programming the Watchdog TimerA.1.3 Example Program1. Enable watchdog timer and set 10 sec. as timeout interval;-----------------------------------------------------------Mov dx,2eh ; Unlock NCT6776FMov al,87hOut dx,alOut dx,al;-----------------------------------------------------------Mov al,07h ; Select registers of watchdog timerOut dx,alInc dxMov al,08hOut dx,al;-----------------------------------------------------------Dec dx ; Enable the function of watchdog timerMov al,30hOut dx,alInc dxMov al,01hOut dx,al;-----------------------------------------------------------Dec dx ; Set second as counting unitMov al,0f5hOut dx,alInc dxIn al,dxAnd al,not 08hOut dx,al;--------------------- ---- ---- -------------------------Dec dx ; Set timeout interval as 10 seconds and start countingMov al,0f6hOut dx,alInc dxMov al,10Out dx,al;- -------------------------------------------------------Dec dx ; Lock NCT6776FMov al,0aahOut dx,al2. Enable watchdog timer and set 5 minutes as timeout interval;-----------------------------------------------------------Mov dx,2eh ; Unlock NCT6776FMov al,87hOut dx,alOut dx,alwww.carlosmendoza.com.mx