Assembly! insert characters and print the reverse

-4

Hello, I'm a beginner in Assembly. I need to make a program that receives two characters and prints the inverse.

Example:

You receive: A B

View: B A

Someone can help me

    
asked by anonymous 18.08.2018 / 15:41

1 answer

-2
MOV AH, 01h
INT 21h
MOV BL, AL
INT 21h

MOV AH, 02h
MOV DL,AL
INT 21H
MOV DL,BL
MOV AH,2h
INT 21h
    
19.08.2018 / 11:44