Jump to content

goutamreddy

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About goutamreddy

  • Rank
    Newbrie
  1. When getting the high byte or low byte of an unsigned int x, Is it more efficient to do x >> 8 instead of x / 256 ? Similarly, to do x & 255 instead of x % 256 ? Does aggressive optimization (-O a) treat these as one and the same?. Will switching all my division and modulo operators in the main and interrupt threads eliminate the following warning? Serious Warning: Possible sw stack corruption, function '__rem_8_8' called by more than one asynchronous thread (main/Task, interrupt, interrupt low) Thanks, -g reddy
×