All memory addressing is done on the cpu. Therefore, [eax + 8] is done on the cpu. Why use the lea instruction? Say you have many operations on some variable located at [eax - 4]. Now you can always...
Type: Posts; User: Speedy5
All memory addressing is done on the cpu. Therefore, [eax + 8] is done on the cpu. Why use the lea instruction? Say you have many operations on some variable located at [eax - 4]. Now you can always...
They are done at run-time. Memory addresses are complicated things to convert into machine code. Among the many bytes in the code, those adress calculations are encoded into a SIB byte. You can do...