NAR-5620 Series
User
’
s
Manual
33
lea dx,PROMP_2_CR_LF
mov ah,09h
int 21h
lea dx,promp_TEST_fail
mov ah,09h
int 21h
jmp return_to_dos
test_ok :
lea dx,promp_TEST_OK
mov ah,09h
int 21h
ror ecx,10h
; ECX[15..0] to ECX[31..16]
; Restore GPIOBASE to ECX[31..16]
return_to_dos :
mov ah,4ch ; Return to DOS
int 21h
;------------------------------------------------------------------ t_end
; ==================================================== 2_end
IODELAY PROC
near
push ax
push dx
mov dx,0edh
in
al,dx
jmp $+2