Translate from nasm to gas assembly syntax

Viewed 41

translate this line:

mov [p2_label + ecx * 8], eax

what I understand it something like this:

movl %eax, (%ebx,%ecx,8)

But with label instead %ebx and it's not work for me.

0 Answers
Related