T-n-T: Multiplying two 16-bit numbers

The problem

It is required to perform the operation of multiplying two 16-bit numbers, the product of which can have a value exceeding the maximum value of a 16-bit number (more than 65535).

The solution

The built-in function block “Multiplication” cannot ensure the correct execution of such an operation - as a result of overflow, part of the value of the product will be lost.

The solution (diagram).

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

SEE ALSO