Write a program to draw 80 stars in Assembly Language
Code:
..MODEL SMALL
.STACK 100H
.DATA
.CODE
MAIN PROC
MOV CX,80
MOV AH,2
MOV DL,'*'
TOP:
INT 21H
LOOP TOP
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
Output:
Write a program to draw 80 stars in Assembly Language
Code:
..MODEL SMALL
.STACK 100H
.DATA
.CODE
MAIN PROC
MOV CX,80
MOV AH,2
MOV DL,'*'
TOP:
INT 21H
LOOP TOP
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
Output:
0 Comments