Hi. Please help... I'm trying to display
*
**
***
****
*****
but it doesn't work.. What could be wrong? Here's my code:
.model small
.stack 100h
.data
space db " ","$"
newline db 13,10,"$"
ast db "*","$"
.code
mov ax,@data
mov ds,ax
mov cl,1
again:
mov bl,cl
back:
mov ah,09h
lea dx,ast
int 21h
dec bl
jne back
mov ah, 09
lea dx, newline
int 21h
inc cl
jne again
mov ah,4ch
int 21h
end
Thanks..