Copy a string in reverse order. Do not copy the contents of the array to another array.
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
Business Data Communications Infrastructure Networking and Security
ISBN: 978-0133023893
7th edition
Authors: William Stallings, Tom Case
Posted Date: