Reverse engineering and other stuff.
IRA the dissembler again
What the dissembler generated:
This should be:
C vs Assembly language
Sorry I just don't get it, way are people (Franko) telling me that Assembly is easy language?
This window display C code that does the Dos.library / PrintF command just as Assembly code above.
Well the code lies, I should have opened the DOS.library but its no longer necessary under AmigaOS4, whit -lauto option, so not a big lie, it works as its written.
but as you can see Assembly version of printf takes up to 7 lines to do the same as C does in just ONE single line, and it does the same thing.
And also you can see that strings has to be put some where else, and then you need to move the values in to ARGS array (D2), before command is executed, it just allot of more work.