
39
Program 2:
Writing a watchdog timer interval value
O 2E F6
O 2F XX
O 2E AA
MOV DX,2E ; Set timer interval value to 16 seconds
MOV AL,F6H
OUT DX,AL
MOV DX,2FH
MOV AL,XXH ; Timer interval *** see note ***
OUT DX,AL
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
Note: This XX value range is from 01H to FFH, and the related watchdog timer
interval is 1 sec. to 255 sec. (as in the previous description).