Search:

Type: Posts; User: Speedy5

Search: Search took 0.02 seconds.

  1. Thread: lea

    by Speedy5
    Replies
    13
    Views
    3,338

    All memory addressing is done on the cpu....

    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...
  2. Thread: lea

    by Speedy5
    Replies
    13
    Views
    3,338

    They are done at run-time. Memory addresses are...

    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...
Results 1 to 2 of 2