A-4
WDT & GPIO
MS-98H8
pop ax
mov dx, SMBUS_ADDRESS03
out dx,al
mov dx, SMBUS_ADDRESS05
mov al,cl
out dx,al
mov al,48h ;set start(bit6=1)and byte data read or write(bit2~4)
xchg al,ah
mov dx, SMBUS_ADDRESS04
out dx,al
xchg al,ah
mov dx, SMBUS_ADDRESS02
out dx,al
#2 :
(a)Set GPO 0 status
mov ax, SLAVE_ADDRESS GPIO_Status ; for GPI 0 set 6E40h
mov cl, GPO_0 ;bit0=GPO 0 status
push ax
mov dx, SMBUS_ADDRESS
mov al,1eh ;clear(bit1~4) status
out dx,al
pop ax
mov dx, SMBUS_ADDRESS03
out dx,al
mov dx, SMBUS_ADDRESS05
mov al,cl
out dx,al
mov al,48h ;set start(bit6=1)and byte data read or write(bit2~4)
xchg al,ah
mov dx, SMBUS_ADDRESS04
out dx,al
xchg al,ah
mov dx, SMBUS_ADDRESS02
out dx,al