i am trying to divide 50 by 23 . These are unsigned 6-bit integers.

50 = 00110010

23 = 00010111

since numbers are 6 bits there are 7 steps.

after the 6th step R=R-D since result is not negative remainder becomes 000100 and

quotient = 0001 , divisor - 101110 (before shifted to right). I don't know what to do next

I'm not sure whether i am doing it right way. Can someone explain this?

Thanks

50 = 00110010

23 = 00010111

since numbers are 6 bits there are 7 steps.

after the 6th step R=R-D since result is not negative remainder becomes 000100 and

quotient = 0001 , divisor - 101110 (before shifted to right). I don't know what to do next

I'm not sure whether i am doing it right way. Can someone explain this?

Thanks

http://books.google.com/books?id=1lD9LZRcIZ8C&pg=PA183&lpg=PA183&dq=division+algorithm+computer+organization+and+design+the+hardware/software+interface&source=bl&ots=o5AWqhFfLx&sig=kyESVGqa2kZJf2c2T8Ey58gz3ro&hl=en&ei=gFT8ScmOM4SHtgets_GiDQ&sa=X&oi=book_result&ct=result&resnum=3#PPA185,M1

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.

Compare the example in the text book on page 186: the 4 bit divisor is scaled by shifting it left 4 bits initially.

Open in new window