cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to see the Assembler Code as you step through the C program?

KiptonM
Lead

In some other IDE for other micro controllers, you can have a window that shows the assembler code that is being executed as you single step through the C code in the debugger.

I have used it to optimize my C code, because I can see what each line generates in assembler. There are many ways to code the same thing, and sometimes only one way is either the fastest or smallest number of instructions. Seeing the assembler as you step through is one of the easiest ways to hand optimize.

I cannot seem to find that ability in the Cube IDE. Does it exist?

1 ACCEPTED SOLUTION

Accepted Solutions
KiptonM
Lead

I just found it.

It is called Disassembly View. You can get to it by Window->Show Views->Other and select Disassembly.

View solution in original post

1 REPLY 1
KiptonM
Lead

I just found it.

It is called Disassembly View. You can get to it by Window->Show Views->Other and select Disassembly.