Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- 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. --- Quote End --- Hi,Kevin. It's kind of you . I have modifed the assembly code using .global _alt_main _alt_main: instead of .global _start _start: But it does not work, yet occur errors as mentioned by me.