Here's a really useful reference for x86-64 assembly code programming.

http://www.cs.cmu.edu/~fp/courses/15213-s07/misc/asm64-handout.pdf

Marc