IBM PCM-6890B Personal Computer User Manual


 
Appendix A Programming the Watchdog Timer 107
W977Write PROC
push dx
call EnterConfig ;; Enter Config Mode
call SelectDevice ;; Select logical device
mov dx,cs:CONFIG_PORT
out dx,al ;; Select register number
mov al,ah
mov dx,cs:DATA_PORT
out dx,al
call ExitConfig ;; Exit Config Mode
pop dx
ret
W977Write ENDP
end