Purpose of mov %rax,-0x10(%rbp) then -0x10(%rbp),%rax
I disassembled a function that made a syscall to compare why mine wasn’t working, and I noticed these two strange instructions after the syscall
instruction when this same function is compiled with GCC. Can anyone explain to me what purpose this serves?
what does .LC* and .L* mean and what is its purpose in assembly?
(the asterixes in the title count as an incrementing number)