T-n-T: Dividing a 32-bit number by a 16-bit number

The problem

Required, perform the operation of dividing a 32-bit number by a 16-bit number.

The solution

The solution (diagram).

The solution is a diagram developed in CannyLab 2.x. The algorithm is combined in a composite block.

Note: Due to the peculiarities of the implementation of the algorithm, the value of the divisor should not exceed 32678.