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
Mano's Solution pl refer(few solutions) http://www.ee.oulu.fi/research/tklab/courses/521415A/exercises/exercise2.html Please help me get Algorithm 2 divide 2's complements numbers e.g. -5/+1 i.e. MINUS FIVE DIVIDED BY +1
and also Mano solution with Hidden answer http://www.ee.oulu.fi/research/tklab/courses/521415A/exercises/nexercise5a.html