Code Generation for Constant Multiplication/Division

By Nikolai Golovchenko. See https://www.golovchenko.org/home/constdivmul for a working online form and source code.

Input/Output register name:
Input register size, bits
Bytes order :
big endian
little endian
This application is mirrored at:

- https://www.golovchenko.org/home/constdivmul

Multiply by constant:

Tip: To divide by a number,
enter the value of 1/number into the field.

Maximum error
in constant approximation, %

 Round result

Temporary register name:
Select processor:
PIC SX

Help    


See:

See also:

Questions:

Comments:

Interested: