An Assembly Language program that will input from keyboard (with echo) and print it

An assembly language program that will read a character from keyboard (console input with echo function) and print it on the screen. (USE: character output function)


♣ Try it out ::
.model small
.stack 100h
.code

main proc
    
    mov ah, 1
    int 21h
    
    mov ah, 2 
    mov dl, al
    int 21h
    
    mov ah, 4ch
    int 21h
    
    main endp
end main

♣ Sample Input and Output ::
M M

Popular posts from this blog

C++ :: Topological Sort Algorithm (using DFS)

How to Hack Facebook Account

C++ :: Strongly Connected Components Algorithm (SCC)