I want to reverse string in Assembly x-86. meaning – If I got “1234”, I want to that my result will be “4321”. I think to push each char to the stack, and the pop them. But I don’t know to implement this.I need a buffer for this? (I can override the orginal string).
Share
Something like this could work (assuming 32-bit mode, written using NASM syntax):