Question: Assembly language X86 processors Using the String Reverse program as a starting point. Modify the program so the user can input a string containing between
Using the String Reverse program as a starting point. Modify the program so the user can input a string containing between 1 and 50 characters Reverse the content from the user's input. ReadString: The ReadString procedure reads a string from the keyboard, stopping when the user presses the Enter key. Pass the offset of a buffer in EDX and set ECX to the maximum number of characters the user can enter, plus 1 (to save space for the terminating null byte). The procedure returns the count of the number of characters typed by the user in EAX. Sample call: data buffer BYTE 51 DUP (0) byteCount DWORD ? : input buffer ; holds counter code mov edx, OFFSET buffer mov ecx, SIZEOF buffer call Readstring mov byteCount,eax :point to the buffer specify max characters input the string : number of characters CAWIN exe one string ere is new string entered by the user!! ress any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
