Link to home
Start Free TrialLog in
Avatar of emreayman
emreaymanFlag for United States of America

asked on

unsigned 6-bit integer division ?

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
Avatar of ozo
ozo
Flag of United States of America image

How did you get to that step?
Avatar of Member_2_4694817
Member_2_4694817

What algorithm do you use?
Avatar of emreayman

ASKER

ASKER CERTIFIED SOLUTION
Avatar of Member_2_4694817
Member_2_4694817

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you. I have another question. how can i divide 25 by 44. since the quotient will never be 1. how can i calculate it using same algorithm?