.MODEL SMALL
.STACK 50H
.DATA
NL DB 0DH, 0AH, '$'
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
MOV CX, 5
MOV BX, 1
FOR_1:
PUSH CX
MOV DL, 20H
MOV AH, 2
FOR_2:
INT 21H
LOOP FOR_2
MOV CX, BX
FOR_3:
MOV DL, '*'
MOV AH, 2
INT 21H
MOV DL, 20H
MOV AH, 2
INT 21H
LOOP FOR_3
LEA DX, NL
MOV AH, 9
INT 21H
INC BX
POP CX
LOOP FOR_1
MOV AH, 4CH
INT 21H
MAIN ENDP
END MAIN
ÃœzÃ¥Ãr 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.