I'm reversing my C array's programs where I'm storing numbers in arrays like this...
int marks[5];
marks[0] = 1;
marks[1] = 3;
marks[2] = 2;
marks[3] = 7;
marks[4] = 9;
so the compiler showing me the disassembly...
Actually, my question is why it is storing like this? by using imul
first before storing 1 then before storing 7, and using shl
for storing 3, 2, and 9.
Can anyone please help?
Fell free to edit it*