Assembly! insert characters and print the reverse

Asked

Viewed 155 times

-5

Hello, I’m a beginner in Assembly. I need to make a program that takes two characters and prints the reverse.

Example:

Receive: A B

View:B A

Someone can help me

  • 2

    Yes, what is the question? Based on what you already know about Assembly, what did you try to do? What couldn’t you do? The way it is, basically you just put out the statement and make it look like you want us to do it for you, which justifies getting the negative votes. As it is new on the site, I recommend that you do the [tour] to learn the basics of the site and read the guide of [Ask] - watch out for the "You searched thoroughly for an answer before you asked the question?".

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.