Division
• Check for 0 divisor
• Long division approach
– If divisor
≤ dividend bits
• 1 bit in quotient, subtract
– Otherwise
• 0 bit in quotient, bring down next
dividend bit
• Restoring division
– Do the subtract, and if remainder
goes < 0, add divisor back
• Signed division
– Divide using absolute values
– Adjust sign of quotient and remainder
as required