Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNIOS II Assembler example?
I am kind of stuck with my board working quite fine under debugger and not working full speed, standalone and I am searching for other options to troubleshoot... One idea I have is to write a l...
Altera_Forum
Honored Contributor
22 years ago --- Quote Start --- originally posted by steve360@Jul 20 2004, 06:09 AM if you add the switch "-save-temps" to your gcc flags, the compiler will keep the intermediate ".s" (assembler source) file for each c or c++ module - instant assembler examples! --- Quote End --- Thanks - this is a good idea but this is not really what I was looking for. An option to "compile via assembler" in the tools by bigger boys (Microsoft, Borland) creates listings including assembler lines following directly lines in C-code they replace. Also, they use C-level function/variable names in assembler to make it easier to understand what compiler have done with the C-code. Also, I have not only problems with creating a assembly file but also having problems compiling *.s files I found on my harddrive in nios2 folders. The project settings or make file is just not ready to compile assembler files. I got build errors like "Error *** No rule to make target `all'. Hello_Assembler" and "Error *** No rule to make target `clean'. Hello_Assembler " indicating I have something really wrong with my project files/make files.