> >What helps in such cases is usually writing code snippets in C, compile
> >them to assembly code (the "-S" option to gcc), and study that.
> I think this sounds like something to try. Do you have any
> suggestions for code snippets in C that can be useful?
OK. Perhaps the most reasonable is to start with the corresponding
Can you do something like
$ gcc -S -m64 src/main.c
and send me the resulting "main.s"?