I've got the address of my array (passed as a pointer to the function) in esi register. How can I access a particular cell of the array? i.e:
my_array[a + b * c]
where c is constant.
c
Look up instructions such as LEA
Think of it this way:
LEA edx,[esi+ebx*4]