Altera_Forum
Honored Contributor
11 years agoHow to print string/integer to board/terminal in Nios ii Assembly
I am writing nios ii assembly programs for the DE1 Altera board/software. We have been tasked with writing a program to count the number of set bits in a 32 bit word. I have written the program and as of now it has the correct answer in the registers but I can’t figure out how to print to the terminal in the software or print to the board’s display if that is at all possible.
If anyone can help me with the correct nois ii code of how to print using board it would be greatly appreciated. I have searched online and in all the altera documents and still can’t find anything on how to print/output a string or number saved in a register. Please help or direct me to someone/something that can help.