Question: Copy a string in reverse order. Do not copy the contents of the array to another array. Do not use push or pop. Your loop

Copy a string in reverse order. Do not copy the contents of the array to another array.

Do not use push or pop.
Your loop needs only to process half the array.
Here is a hint to divide a number by 2, use the instruction shr. For example if the number of characters in the array is in ecx, use this instruction to half itshr ecx.

Step by Step Solution

3.42 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

For doing the given problem It will be impl... View full answer

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 Programming Questions!