[MOD_I] Modulo function of INT values

Description

This instruction outputs the remainder of the division of the input value IN1 by the input value IN2 at the output parameter OUT.

The instruction DIV_I is used for the integer division of the data type INT.

Troubleshooting

ENO = 0 in the case of division by 0.

Parameters

Parameters

Declaration

Data type

Description

Default

IN1

Input

INT

Dividend

0

IN2

Input

INT

Divisor

1

OUT

Output

INT

Remainder

0