Question: I need to write a code for in-line assembly x86, that multiply a 32-bit integer with number 2017 without using mul/imul instructions. I know I
I need to write a code for in-line assembly x86, that multiply a 32-bit integer with number "2017" without using mul/imul instructions. I know I need to use shl and shr bit instructions but I have a problem to get the exact number "2017" from those instructions. Can anyone give some exact codes to implement this specific multiplication?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
