Chapter 3 Software Configuration
Mov al, 07h ; Select Logical Device 8 of watchdog timer Out dx,al
Inc dx Mov al, 08h Out dx,al
Dec dx ; Set second as counting unit Mov al, 0f5h
Out dx,al Inc dx In al,dx
And al,not 08h Out dx,al
Dec dx ; Set timeout interval as 30seconds and start counting Mov al, 0f6h
Out dx,al Inc dx Mov al, 30 Out dx,al
Dec dx ; Exit the extended function mode Mov al, 0aah
Out dx,al
|