Forum Discussion
Altera_Forum
Honored Contributor
19 years agoBitwise operator
Hi i'm new to this forum and I have simple question about binary operators...
My program works fine on with a boolean operator flawlessly but part of my code needs to use bitwise operators... I tried & operator and it doesn't work... I tried browsing "The Newlib C Library" to look for function that I can used but still unlucky... Could somebody please help me with all the bitwise operator that I can use without prompting me errors?. Do I need to implement embedded multipliers to my nios 2/s to emulate this bitwise functions....??>.... Thanks..1 Reply
- Altera_Forum
Honored Contributor
Hi Lanzones,
You need to provide an example of code that shows the problem, you can't just say it doesn't work. I'm sure there must be something wrong with your assumptions about precedence of operators. Banx.