I have compiled a C code to create a 1st version .s file that I want to tweak to get better performance.
But the Keil tools only allow replacement of an instruction.
No instruction can be omitted since the .s files have all the link-able info and assigned addresses.
how does one get around this issue ?
How to freely edit assembly files ?
Any ideas ?
Raminee
Hi Raminee,
you can use the embedded assembler integrated in armcc: you can basically write assembly code (the part you want to optimize) together with your C code. You can find more information here: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472k/chr1359124245889.html
In case you want to compile the entire .S file, you can use armasm. You can find the documentation for armasm at this addess: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473k/index.html
Hope this helps.
Best Regards,
Stefano