Is there anyway of geting the assembly code from a Tiva code that is in C? I tried adding -k to GNU compiler options but it doesn't work
My code was ported from energia so i can only use GNU compiler
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Is there anyway of geting the assembly code from a Tiva code that is in C? I tried adding -k to GNU compiler options but it doesn't work
My code was ported from energia so i can only use GNU compiler
Hi Luis,
Luis Afonso said:Is there anyway of geting the assembly code from a Tiva code that is in C? I tried adding -k to GNU compiler options but it doesn't work
My code was ported from energia so i can only use GNU compiler
These codes are only available in C. Do refer: http://www.energia.nu/Guide_TivaCSeriesLaunchPad.html
Regards,
Gautam
Luis Afonso said:Is there anyway of geting the assembly code from a Tiva code that is in C?
Try disassembly view of your IDE.
The Tiva microcontroller can be programmed entirely using assembly. I think you can find some tutorials about that in the internet.
- kel
With the gcc-arm-none-eabi-4_7-2013q3 tool-chain the GNU compiler option to use is -save-temps, which cause a .s file to be left for each .c source file compiled, where the .s file contains the generated assembler.Luis Afonso said:I tried adding -k to GNU compiler options but it doesn't work
[Trying to use -k caused GCC to report an error due to being an unknown option]