Question: Write an assembly program that takes a null terminated string as input. Display the string in reverse order in the output screen. For example, if

Write an assembly program that takes a null terminated string as input. Display the string in reverse order in the output screen. For example, if the input is "Apple" then display "elppA". Use the following labels for your input. The string will always be terminated by a Null (zero). It may be any length that fits in memory.

You code should have the following memory locations defined.

text: DB "Apple" DB 0 ;Null Terminator

Please use x86 Assembly

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!