Altera_Forum
Honored Contributor
15 years agoHow can I insert .asm source code into a .c application?
Hi,
I would like to use some functions of the default boot loader code from altera in /boot_loader_sorces. It´s written in asm. My application is in .c, I´m working with NiosII IDE9.1 SP1. How can I insert some parts of the code in .asm? I tried the instruction preceded by the keyword asm, but it doesn´t work. (asm wrctl status, r0) Can anyone help me? Thanks in advance, Melo