Say I\'m writing a routine in x86 assembly, like, \"add\" which adds two numbers passed as arguments.
For the most part this is a very simple method:
Haven't tested, but you may be able to do a ret without using a GPR like this:
add esp,4 jmp dword ptr [esp-4]