Assembly language program to print name without string

Code

org 100h
.stack 100h 
.data
.code
main proc
    mov dl,'M'
    mov ah,02
    int 21h
    
    mov dl,'R'
    mov ah,02
    int 21h
    
    mov dl,'.'
    mov ah,02
    int 21h
    
    mov dl,'N'
    mov ah,02
    int 21h
    
    mov dl,'O'
    mov ah,02
    int 21h
    
    mov dl,'B'
    mov ah,02
    int 21h
    
    mov dl,'O'
    mov ah,02
    int 21h 
    
    mov dl,'D'
    mov ah,02
    int 21h
    
    mov dl,'Y'
    mov ah,02
    int 21h 
    
    mov ah,4ch
    int 21h
    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 input string from user and display it

Assembly language program to input string from user and display its length