Altera_Forum
Honored Contributor
9 years agoSigned addition in Nios II
Hi all,
I need to add two numbers in Nios II. For that i simply add two numbers in Nios II C program. I have assigned the maximum possible 32 bit positive value .i.e. 0x7FFFFFFF in both. What i expect is the result should saturate to 0x7FFFFFFF as in the case of micro controllers. But the Nios II does not do like that.What can be the reason for that?