Sunday, March 1, 2020

A to Z Characters printing in Assembly Language


TITLE DISPLAY 
.MODEL SMALL 
.STACK 100H 
.DATA 
        CHAR DB 'A' 
 
.CODE 
    MAIN: 
        MOV AX, @DATA 
        MOV DS, AX                
         
    AGAIN:      
     
        MOV DL, CHAR 
        MOV AH, 02H 
        INT 21H 
        
        MOV DL, 0AH 
        MOV AH, 02H 
        INT 21H 
       
        MOV DL, 0DH 
        MOV AH, 02H 
        INT 21H 
         
        INC CHAR 
         
        CMP CHAR, 5AH 
        JNG AGAIN 
         
    EXIT: 
        MOV AH, 04CH 
        INT 21H 
    END MAIN 
     
    
All Alphabets printing in assembly language using CMP Instruction OUTPUT-1
A To Z Character Printing In Assembly Language OUTPUT-2

No comments:

Complete Video Tutorials