Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHow do you add an assembly file to a Nios project?
I feel like a complete idiot because this should be easy. But I've spent a ton of time looking everywhere for the answer and am drawing blanks. How do you add an assembly file (.asm) to a ...
Altera_Forum
Honored Contributor
19 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- I think you have to use .s files instead of .asm[/b] --- Quote End --- I tried that, but then it complains that the .c file is missing. For example. "file.s" will result in the makefile complaining that it doesn't know how to make "file.c". That's because it only expects "file.s" *after* it has compiled "file.c" (.s is the intermediate filename for C/C++ code that's been converted to assembly).