This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to automatically detect Cortex M7 ALU overflow ??

example)

c = a + b;

c = a - b;

c = a * b;

When the basic operation overflow occurs, the V flag of APSR becomes 1, but the next operation becomes clear with 0.

Isn't there an automatic detection function like Div by zero?

If I make an Exception handler function, do I have to detect overflow by checking every operation?

  • Hi there, thank you for asking a question. I have moved your question to the Architectures and Processors forum. Please let me know if you think that this is correct. Many thanks.