Kenmore 795.7105 series Use & Care Manual page 124

Bottom freezer
Hide thumbs Also See for 795.7105 series:
Table of Contents

Advertisement

Example
Following is an example of programming 32 sec period for watch-
dog timer in assembly language. When timer times out, it will
generate signal of system reset.
CONFIG_PORT
DATA_PORT
SetWatchDog_Time PROC
push bx
push cx
push dx
mov
bl,7
mov
ax,0130h
call
W977Write ;; mov bl,8
mov
ax,01f2h
call
W977Write
pop
dx
pop
cx
pop
bx
mov
int
ret
SetWatchDog_Time ENDP
dw
3f0h
dw
3f1h
;; Select logical device number 7
;; write 01h to register 30h to
activate
;; timer
;; Select logical device number 8
;; write time-out value (01h) to
register
;; F2h
;; set time-out value to 32 sec
ah,4ch
21h
116

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents