This is an example of using functions in x86 assembly on a 64-bit Linux machine. The original source was from this book. However, the book was written for 32-bit computers, not 64-bit, so I updated this.