Is there any instructions in the ones below that impact on the Direction Flag so that the DF always set to 0 :
Code:
ea dx,tb1
int 21h
xor cx,cx
lea di,xau
nhap: mov ah,1
int 21h
cmp al,13
je thoi
cmp al,'A'
jb dung
cmp al,'Z'
ja dung
jmp nhap
dung: stosb
inc cx
jmp nhap

Last edited by shabbir; 28Aug2007 at 15:25.. Reason: Code block