the code below as I understand it says store the pointer in %rsi
in %eax
if thats correct then the second line says add the pointer in %eax
to the pointer in %rdi
?
very confused. I know assembly doesn't have pointers I am just speaking as translating assembly to c. I must write the assembly code into c code, and these two lines are killing me. Can I have clarification?
movl (%rsi), %eax
addl %eax, (%rdi)