Forum Discussion
Altera_Forum
Honored Contributor
20 years agoAssembly code
i would like to see the assembly code generate after building project but i think it's not possible I tryed to search everywhere but witout result what do you think about ? ciao
Altera_Forum
Honored Contributor
20 years agoHi,
the easiest way to view the disassembly of your programm is: - start the Nios2 IDE. - make sure the generation of a objdump file is enabled. (In Nios2 IDE check Window->Preferences->Nios II->Generate objdump file) - compile your project - after that in the folder <your project directory>/Debug there should be a file called <your_program>.elf.objdump. This file contains (among other things) a disassembly of your executable Note that this call disassembles ALL your sections, including the sections containing your initialized data. Don't be confused by this. I hope this helps.