Assembly language program to print capital alphabet A to Z using loop

Code

org 100h
.stack 100h
.data
.code
main proc  
    
    mov cx,26
    mov dx,65 
    
    
    lable:
       
    mov ah,02
    int 21h
    
    inc dx
    loop lable
    main endp
end main 

Output



Comments

Popular posts from this blog

Assembly language program to input an integer from user and display whether the number is even or odd

Assembly language program to display sum of all even numbers between 1 to 100

Assembly language program to input string from user and display it