I am trying to understand exactly how indirect memory addressing works in assembly language with AT & T syntax.
movl (%eax), %ebx movl %eax, (%ebx)
Here is a similar question that explains indirect addressing
Here is what I understood:
In the first case, you load data pointed to by the %eax register and save it in %ebx .
In the second case, you store data in the %eax register into the address space pointed to by the %ebx register. Am I right?
source share