![Portwell NAR-7070 Скачать руководство пользователя страница 62](http://html1.mh-extra.com/html/portwell/nar-7070/nar-7070_user-manual_1581805062.webp)
NAR-7070 User’s Manual
61
ror edx,10h ; error falg EDX_Bit16 , 1 --> Error happened
or dl,01h
rol edx,10h
call KB_Wait
; ---- t1 end
next_test1 :
; ---- t2 start
lea dx,promp_rst2df
mov ah,09h
int 21h
lea dx,promp_anykey
mov ah,09h
int 21h
xor al,al ; halt for ready? Any key pressed to go on.
WAIT_KB_0:
mov ah,1
int 21h
cmp al,0
je WAIT_KB_0
lea dx,PROMP_2_CR_LF
mov ah,09h
int 21h
; test RST2DF button pressed
call READ_GPI6_TO_AL
and al,40h ; mask bit6
cmp al,40h
je next_test2 ; okay , go on test
; no , error message display
lea dx,promp_err2
mov ah,09h
int 21h
ror edx,10h ; error falg EDX_Bit17 , 1 --> Error happened
or dl,02h
rol edx,10h
call KB_Wait
; ---- t2 end
next_test2 :
; ---- t3 start ,Clear RST2DF F/F
; GPO19 write 1,0,1
;
; ========= Write GPO19 1-0-1 start
xor bx,bx