F l e x i b l e E m b e d d e d
S y s t e m
F E S - 5 1 2 0
Appendix A Programming the Watchdog Timer
A-7
OUT DX,AL
INC SI
LOOP Init_1
RET
Enter_Configuration_Mode ENDP
Exit_Configuration_Mode PROC NEAR
MOV AX,0202h
CALL Write_Configuration_Data
RET
Exit_Configuration_Mode ENDP
Check_Chip PROC NEAR
MOV AL,20h
CALL Read_Configuration_Data
CMP AL,87h
JNE Not_Initial
MOV AL,21h
CALL Read_Configuration_Data
CMP AL,12h
JNE Not_Initial
Need_Initial: