In the name of God.
hi everyone .
I am going to code a program which get chars and print '*' character instead .
-----------------
Here is Code :
Now the problem is here : How can I Show the typed password ?
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Purpose : Reads a String While Enter hasn't be pushed ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
GetPass Proc
xor ax,ax
xor dx,dx
Input:
;Read Char;
mov ah,08h
int 21h
;;;;;;;;;;;;;
inc leng ; The length of password
cmp al,13 ; Enter Pressed ?
je EndF
PrintStar:
mov ah,02h
mov dl,'*'
int 21h
jmp Input
EndF:
RET
GetPass Endp