[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Twos complement subtraction



On 03/22/2012 11:17 AM, roughana wrote:

> and a second solution which is less cycles. But will this do the trick
> in all cases?

Both inputs are single byte, right? There are only 65536 cases then.
Just code something that steps both routines through all possible cases
and compares the results. Should finish in less than a second and you
will know for sure.

-- 
Linards Ticmanis