4 ms·
The lea instruction is designed for array indexing. See http://stackoverflow.com/a/1665570 http://stackoverflow.com/a/1665570
by Someone 10y ago
The lea instruction is designed for array indexing. See http://stackoverflow.com/a/1665570 http://stackoverflow.com/a/1665570
- rdtsc 10y agoThat's what I mean by pointer arithmetic. It seems it was intended to calculate memory addresses. It happens to do adds and multiplications as well. I understand things like a[i] would be equivalent in general to *(a+i)