I am working on a compiler that must generate FreeBSD-compatible amd64 assembly as output. The developer's manual has a fantastic section about system calls in i386 assembly. I was wondering if there were any differences between the calling conventions on i386 and amd64, and if there were, what they are. It would be especially helpful if there is a document that details any differences.
Thank you.
Thank you.