lihui002
Newbie level 5
There are two equations for the adder or subtraction a book
s=a^(b^M)^c;
c[i+1]=(a+c)(b^M)+ac;
when M = 0, it is an adder a[i[+b
when M = 1, it is a subtraction a-b
-------------------------------------
I think when M = 1, d=a^b^l, the b should not become the 1's complement,
and l[i+1]=(a^M)(b+l)+bl, a should be the 1's complement, not the b.
please explain the equation in the book.
Thanks
s=a^(b^M)^c;
c[i+1]=(a+c)(b^M)+ac;
when M = 0, it is an adder a[i[+b
when M = 1, it is a subtraction a-b
-------------------------------------
I think when M = 1, d=a^b^l, the b should not become the 1's complement,
and l[i+1]=(a^M)(b+l)+bl, a should be the 1's complement, not the b.
please explain the equation in the book.
Thanks