NAR-5620 Series
User
’
s
Manual
31
;
;
mov bl,0eh
; Write GPO19 1
;
mov dx,cx
;
;
add dx,bx
;
;mov dx, 48eh
mov dx, cx
xor bx, bx
mov bl, 0eh
add dx, bx
in al,dx
; read first
call IODELAY ; io delay
or al,08h
;
out dx,al
; output GPO19 1 first
call FIXDELAY
; 30 us delay
in al,dx
; output GPO19 0 then
call IODELAY
and al,0F7h
out dx,al
call FIXDELAY
; 30 us delay
in al,dx
; output GPO19 high finally
call IODELAY
or al,08h