Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About goutamreddy

  • Rank
  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
  • Create New...