What does the bracket in `movl (%eax), %eax` mean?

Viewed 34978

I have googled enough but could not figure out what the bracket () means. Also, I see some syntax as movl 8(%ebp), %eax

Could some someone suggest me some good reference? I have not been able to find any in the top 20 results from Google.

4 Answers

LaC is right. Symbol () means the address of the register. And %eax is the value of that address. so 'movl 8(%ebp), %eax' means set %eax with the address of the %ebp.

Related