adplus-dvertising
frame-decoration

Question

What do some compilers use in order to determine the modulo?

a.

Division using IDIV instruction

b.

Subtraction using SUB instruction

c.

Multiplication using MUL instruction

d.

Multiplication by a reciprocal

Posted under Reverse Engineering

Answer: (d).Multiplication by a reciprocal Explanation:Some compilers actually use a multiplication by a reciprocal in order to determine the modulo.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What do some compilers use in order to determine the modulo?