Is there a way to see the Assembler Code as you step through the C program?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-23 8:23 AM
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?
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-23 8:35 AM
I just found it.
It is called Disassembly View. You can get to it by Window->Show Views->Other and select Disassembly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-23 8:35 AM
I just found it.
It is called Disassembly View. You can get to it by Window->Show Views->Other and select Disassembly.
