Computer architecture organization

Newbie Member
8Mar2008,18:53   #1
bob1912's Avatar
I used division algorithms by Stallings, Mano, Zaky etc. But I cannot get correct solution for all numbers in 2's complement form e.g. (-5) /( +1) with -5 represented as 1011 in 2's complement representation.
The algorithms work for only some numbers like -8/+3.
Can you help me please.
Thanks
Newbie Member
8Mar2008,18:54   #2
bob1912's Avatar
Mano's Solution pl refer(few solutions)
http://www.ee.oulu.fi/research/tklab...exercise2.html
Please help me get Algorithm 2 divide 2's complements numbers
e.g. -5/+1
i.e. MINUS FIVE DIVIDED BY +1
Newbie Member
8Mar2008,18:56   #3
bob1912's Avatar
http://www.ee.oulu.fi/research/tklab...exercise2.html
Morris mano solution
Newbie Member
8Mar2008,18:58   #4
bob1912's Avatar
and also Mano solution with Hidden answer
http://www.ee.oulu.fi/research/tklab...xercise5a.html