14. Programmable LED
ÛZIATECH
75
out 0e5h,al
popf
ret
;--------------------------------------
; led_off turns off the led. Bit 7 controls the
; LED. The state of bit 1 must be maintained
; (write the same value as was read). Bits 3
; and 4 must be handled as shown in the
; input_e5 macro.
;--------------------------------------
led_off: pushf
cli
input_e5
and al,not 80h
out 0e5h,al
popf
ret