Question: this is Assembly Write a program called p4.asm that prompts the user for a two character string. Once the string is entered, swap the characters

this is Assembly
Write a program called p4.asm that prompts the user for a two character string. Once the string is entered, swap the characters in the string and then print the result. You must swap the characters in the string (in other words, swap the bytes that are stored in memory) and then print the modified string to get credit for this program. Allocate the memory for the string in a single directive in the .bss section, such as: two_char_string: resb added an extra character to put a newline into when printing Example output:|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
