I want to do the following, let's say we have a string called A and it contains 'echo Hello, World!' I want to do this: reverse A, now it is '!dlrow ,elloH ohce' remove the last 5 chars, so it is '!dlrow, elloH' reverse A, so it is 'Hello, World!' and output A, because the user inputted A in the first place in a, it is for a command prompt, so that is why the echo is there. I can do the reversing, but I can't seem to figure out how to remove the last 5 chars from the string.. does anyone know how to do this? It is bare bones (no int21h) and Bits 16.
my account access