I am using CCS4 version 4.1.2.00027 on a Windows XP machine.
I do not have an emulator or a target board.
I have a simple 5509A project written in C, with the "Release" active build configuration selected.
I have selected the option "Keep the generated assembly language (.asm) file (--keep_asm, -k)"
I build the active project, and the .asm file is generated. I open this file to see how my C source code is compiled to assembly. Where is my C source code?
It appears that NONE of my C source comments are in the assembly. NONE of the original C source code is in the assembly.
When I have a function call like this...
mcbsp_init();
I can fine a line of assembly like this...
CALL #_mcbsp_init ; |551|
That's barely useful. But if I have a line lie this...
GPIO_pinWrite(AGPIO_PIN7, (GPIO_pinRead(AGPIO_PIN3)));
There is NOTHING in the assembly that clues me in to what code was generated from that line. Stop. Do not pick apart that line of code. That is not what is important here. What is important is that I cannot find the assembly generated from that line.
At first I thought the line number of the C source was included with the assembly; but, that is not true. In the example above mcbsp_init() is on line 35, not 551.
I am aware of the Disassembly view in the Debug perspective. However, remember I do not have an emulator or a target board.
How do I see the assembly generated from my C code?