multiply accumulator overflow detection
Hello,
I am writing a function that perform multiplication and accumulation
in MIPS, the results are stored into Hi and Lo registers. The overflow
might occur during the accumulation. How do I detect overflow when the
results are stored in two registers?
Thanks
-k
.
Relevant Pages
- Re: signed/unsigned ALU operations
... conditional branch on the overflow bit, ... Assuming that there is such a thing as an overflow bit. ... If you're mentioning MIPS, it's a good example of a feature I don't ... MIPS has ADD and ADDU on 32-bit registers. ... (comp.arch) - Re: signed/unsigned ALU operations
... processors have any condition flags such as an overflow bit. ... MIPS has ADD and ADDU on 32-bit registers. ... (comp.arch) - Re: multiply accumulator overflow detection
... the results are stored into Hi and Lo registers. ... How do I detect overflow when the ... I'm not familiar with the MIPS architecture. ... R2000/R3000 MIPS processors the add instruction generated an exception if ... (alt.lang.asm) - Re: integer limit
... If we do this in 32 bit registers, and do not worry about overflow, we ... so in a twos complement machine 2147483648 is negative, ... I am not surprised that Google turns up nothing for 139586437119. ... (comp.unix.shell) - Re: Saturation
... (with DATAREG_X beeing 32bit data registers). ... Compute the absolute value between DATAREG_B and DATAREG_C ... sense here since in my option an overflow can never happen. ... But NEG of ffff_ffffh will produce a +1. ... (alt.lang.asm) |
|