Altera_Forum
Honored Contributor
20 years agoInline assembly code / Nios II Project
All:
I am trying to write a simple program as part of an Altera Nios II application in which I want to embed a few lines of assembly code Can anyone provide me with an example of how this is done? I have tried a number of ways of using the asm / volatile keywords as normally used but cannot get the program to compile without errors. If this is actually supported, a simple example will suffice. Thanks Nick