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 |
|
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 |
|
http://www.ee.oulu.fi/research/tklab...exercise2.html
Morris mano solution |
|
Newbie Member
|
|
| 8Mar2008,18:58 | #4 |
|
and also Mano solution with Hidden answer
http://www.ee.oulu.fi/research/tklab...xercise5a.html |
