NAR-5050/5070 Series User
’
s Manual
54
pop dx
ret
FIXDELAY ENDP
;---------------------------------------------------------------;
; LOOP_DISPLAY_4_CHAR ;
;---------------------------------------------------------------;
; Input : NONE ;
; STACK PRESENT ;
; Output: NONE ;
;---------------------------------------------------------------;
LOOP_DISPLAY_4_CHAR PROC NEAR
push ax
push cx
push dx
mov cx,01800h ; loop count for "/|\-"
total_count :
push cx
loop_message :
mov cx,03h
loop_message_init :
cmp cx,03h
jne loop_message1
mov ah,02h
mov dl,2fh ; cx = 3 , "/" display
int 21h
dec cx
lea dx,promp_bs ; back space , ASCII="08"
mov ah,9
int 21h
; push cx
; mov cx,0010h
; call fixdelay
; pop cx
jmp loop_message_init
loop_message1 :
cmp cx,02h
jne loop_message2
mov ah,02h
mov dl,7Ch ; cx = 2 , "|" display
int 21h
dec cx
lea dx,promp_bs ; back space , ASCII="08"
mov ah,9
int 21h
; push cx
; mov cx,0010h