ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
17
mov al, 013h
mov al, 013h
out 22h, al
out 22h, al
nop
nop
nop
nop
mov al, 0c5h
mov al, 000h
out 23h, al
out 23h, al
nop
nop
nop
nop
Read the value of a configuration register
For example, read INDEX 3Ch :
Unlock configuration register
mov al, 03ch
out 22h, al
nop
nop
in al, 23h
nop
nop
push ax
Lock configuration register
pop ax ;AL - result
Write data to configuration register
For example, write 0FFh to INDEX 3Bh :
Unlock configuration register
mov al, 03bh
out 22h, al
nop
nop
mov al, 0ffh