Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .MODEL SMALL
- .STACK 100H .
- .data
- N1 DB 0DH,0AH,"$"
- .CODE
- MAIN PROC
- MOV AX,@DATA
- MOV DS,AX
- MOV CX,3
- MOV BX,1
- TEST1:
- push cx
- mov cx,BX
- test2:
- mov ah,2
- mov dl, '*'
- int 21h
- LOOP TEST2
- lea dx,n1
- mov ah,9
- int 21h
- INC BX
- pop cx
- LOOP TEST1
- EXIT:
- MOV AH, 4CH
- INT 21H
- MAIN ENDP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement