electroRF
Member
I'm beginning to study the DSP Core that my company uses, as I'll be in charge of different functionalities of it.
I have an overflow detection question.
when two positive signed numbers are added, then overflow can be detected by simply checking if signed-bit of result remains zero.
Then, the DSP Core can set the corresponding ALU-Status Register bit according to the result.
But if two unsigned (positive of course) numbers are added, how does a processor detect an overflow (or non-overflow) in the result?
Thank you.
I have an overflow detection question.
when two positive signed numbers are added, then overflow can be detected by simply checking if signed-bit of result remains zero.
Then, the DSP Core can set the corresponding ALU-Status Register bit according to the result.
But if two unsigned (positive of course) numbers are added, how does a processor detect an overflow (or non-overflow) in the result?
Thank you.