shancs007 0 Newbie Poster

hello,
guys i need a help i am trying tp print triangle but i am unable to print it rightly
..i am bad in english so plz help me
i want to show triangle like this
*
**
***
****
*****
.....................

this is my code so far ....it display steric like this in row
*************************************************************************
********************************************************************************

pkey db "press any key...$"

msg db "* $"

msg1 db "10 $"

x db 1

dw   128  dup(0)




mov ax, data
mov ds, ax
mov es, ax


lea dx, pkey
mov ah, 9
int 21h        

mov ah, 1
int 21h 

;;;;;;;;;;;;;;;;;;;;;;;;
back:
mov cl,x
again:
lea dx,msg
mov ah,9
int 21h
dec cl
cmp cl,1
jne again
lea dx, msg1
mov ah,9
int 21h
mov bl,x
inc bl
cmp bl,2
jne back
lea dx, msg1
mov ah,9
int 21h

mov ax, 4c00h ; 
int 21h    

ends

end start ;