• RTX stack overflow check problem
    I've now spent a lot of time debugging a problem/issue with the built-in stack overflow check in the RTX OS. In my project I have a task that receives input from a UART (LPC 2368). The chacacters...
  • RTX stack overflow check problem
    I've now spent a lot of time debugging a problem/issue with the built-in stack overflow check in the RTX OS. In my project I have a task that receives input from a UART (LPC 2368). The chacacters...
  • Use BVS/BCS for fast overflow check with long long
    Hi, I need some long long (64 bit) additions in a fast interrupt code. After each addition, I need to limit the result to MIN/MAX_INT64 if some overflow occurred. In assembler, I would use the...
  • Use BVS/BCS for fast overflow check with long long
    Hi, I need some long long (64 bit) additions in a fast interrupt code. After each addition, I need to limit the result to MIN/MAX_INT64 if some overflow occurred. In assembler, I would use the...
  • How to check overflow
    Hi 8051 Gurus, The question i have is general C question and not specific to any chip. I have two variables of long type, which is the maximum storage size supported. I want to know whether it will...