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 agoPszemol,
If I were you, I would use some of the suggestions that have already been presented.... 1. Try the --save-temps and/or -S option to gcc. - No, this won't get you a whole lot further, but it will show you the details of assembly code for Nios II. 2. Try right-clicking on the project and scrolling to "Refresh" prior to "Building" your .s files. - This refreshes your project's contents and, in theory, should make it "visible" to the build process. 3. Be aware that -O2 or -O3 optimized code does nearly as good a job of optimization as hand assembly, unless, of course, you're an assembly genious http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif I have used these sorts of methods to compile assembly using the IDE. Cheers and Good luck! - slacker