I am using Keil uVision4 with an STM32VL Discovery board with an onboard ARM chip. I am wondering if their is anyway inside of Keil uVision4 to convert some C code I have for am external peripheral to ARM Assembly language.
Thanks in advance... I hope this is enough information.
www.keil.com/.../armccref_cihcaaid.htm
But why do you want to do this?
www.catb.org/.../smart-questions.html
I had found this and was wondering what it meant: http://www.keil.com/forum/9023/ I do not see any of these options in Keil UVision.
The reason why I want it in arm assembly and not C is that all the other code I have is in assembly.
Imagination doesn't seem to be one of your strong points :(
Having the compiler produce assembler output is easy.
But it may not be what you want.
If you have a project written in assembler, that assembler code will probably use its own rules for parameter passing etc, than what the compiler will create.
For a single function, the assembler output from the compiler can be used as a starting step before starting to rewrite the assembler code into something compatible.
Imagination?
It's quite obvious that most C compiler can create an assembler listing.
But there is no one single reason why someone wants assembler output from the compiler. If you only see one reason for it, then you are right - having a bit of lack of imagination ;)
View all questions in Keil forum