Div with mul

Replace division by constants with multiplication, additions, shifts.
Don't use  magical reg numbers here. Use the right name for those.