Intel EMB-945T manual MOV DX,WORD PTR CS Cfg Port+06h IN AL,DX RET

Models: EMB-945T

1 59
Download 59 pages 43.98 Kb
Page 58
Image 58
MOV DX,WORD PTR CS:[Cfg_Port+06h]

Mini - ITX

E M B - 9 4 5 T

 

 

MOV DX,WORD PTR CS:[Cfg_Port+06h]

IN AL,DX

RET

Read_Configuration_Data ENDP

Write_Configuration_Data PROC NEAR

MOV DX,WORD PTR CS:[Cfg_Port+04h]

OUT DX,AL

XCHG AL,AH

MOV DX,WORD PTR CS:[Cfg_Port+06h]

OUT DX,AL

RET

Write_Configuration_Data ENDP

Superio_Set_Reg proc near push ax

MOV DX,WORD PTR CS:[Cfg_Port+04h] mov al,cl

out dx,al pop ax inc dx out dx,al ret

Superio_Set_Reg endp.Set_Logic_Device proc near Set_Logic_Device proc near

Appendix B Programming the Watchdog Timer B-9

Page 58
Image 58
Intel EMB-945T manual MOV DX,WORD PTR CS Cfg Port+06h IN AL,DX RET