IBM All-in-One FC/Socket 370 Celeron, PCM-6890B manual W977Write PROC

Models: All-in-One FC/Socket 370 Celeron PCM-6890B

1 122
Download 122 pages 49.26 Kb
Page 117
Image 117

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

 

 

Appendix A Programming the Watchdog Timer 107

Page 117
Image 117
IBM All-in-One FC/Socket 370 Celeron, PCM-6890B manual W977Write PROC