User Manual

Network Appliance FWS-7600
Appendix C Standard Firewall Platform Setting C-3
C.2 Status LED Sample Code
Status LED Sample code
[Disabled LED Function]
mov dx,48Fh ;( IO_PORT = 48Fh)
in al,dx
or al,00010000b ;set bit 4 -->high
out dx,al
mov dx,4B8h ;( IO_PORT = 4B8h)
in al,dx
or al,00001000b ;set bit 3 -->high
out dx,al
[RED LED ON]
mov dx,48Fh ;( IO_PORT = 48Fh)
in al,dx
or al,00010000b ;set bit 4 -->high
out dx,al
mov dx,4B8h ;( IO_PORT = 4B8h)
in al,dx
and al,11110111b ;set bit 3 -->LOW