Wednesday, May 18, 2016

Program which Print A to Z letters using Assembly language


This program prints alphabets From A to Z. writing alphabets in assembly language.

.MODEL SMALL
.STACK 100H
.
MAIN PROC
MOV DL,'A'
MOV CX,26
MOV AH,2
LOOP_1:
CMP CX,0
JE END_1
INT 21H
INC DL
DEC CX
JMP LOOP_1
END_1:
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN





No comments:

Post a Comment