Is it possible to change the code the compiler create in the exe file?
I am trying to change the output code of the compiler like that:
The code that I am writing in the cpp file is:
a++;
And the compiler generate it the the folowing code:
INC [a]
How can I change it to this:
ADD [a],1
I want that the compiler will do it every time the compiler compile this statement and that is why the asm statement do not work.Also I want to change it only on one platform.
I am sure that the compiler generate the code based on a template so how can I change it(if I can)?