You can find more info on Linux (and System V) calling conventions, stack layout, etc. in this document: http://www.x86-64.org/documentation/abi.pdf
However, if I'm going to do low-level server work, I will not be doing it for 32-bit anymore. (There goes the 32-bit EC2 "small" machine, but so be it.)