Question: Can you show me how to modify this code so it prints out the string in reverse one character at a time on separate line
Can you show me how to modify this code so it prints out the string in reverse one character at a time on separate line :Irvine Irvine32.inc model fat,stdcall .stack 4096 ExitProcess proto,dwExitcode: 13 data I write your data in this section prompt TE "Enter a string", edh, eah, ? text BYTE 101 DUP(?) code I/ write your program here 18 main proc mov edx, OFFSET call writestring promptmove prompt to edx prompt for input text mov edx mov ecx, 18e call Readstring setup for input jmax characters mov ebx, e mov edx, oFFSET text ;setup for output call striength moV ecx, eax ebx cleared to e iget number of characters move eax to ecx 30 L1: 31 mov al, text[eboc] call Writechar call Crlf inc ebx loop L1 1 invoke ExitProcess,e 38 main main 2% Ln 16 Col 5 Ch 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
