Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNios Semaphore?
I need a good semaphore to make a fifo IRQ safe. On the PC it's easy with the assembly instruction BTS which Bit Tests and Sets. So you can try to set a bit and know if you did it in a single c...
Altera_Forum
Honored Contributor
22 years agoI can't take credit for finding this...but here it is:
For NiosII, the processor reference tells you all about the ASM commands, it can be found under the nios2 kit directory: nios2\documents\n2cpu_nii5v1.pdf I hope that helps.