Forum Discussion
Altera_Forum
Honored Contributor
16 years agoassembly language in the nios ii ide
Hi does the nios ii ide support assemble language? why does my assemble codes occur errors? my setup project proceed as follows: 1 Start the Nios II IDE. (Start->All Programs->Altera->...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- you need the C runtime startup to initialize the NIOS II system and it jumps to _alt_main. --- Quote End --- Strictly speaking, this isn't true. If you drop the Altera provided syslib/bsp entirely, you can avoid all the default C runtime and initialization stuff. If you include the syslib/bsp as it appears the OP has done, then you do need to define either _alt_main or _main as you have suggested.