A resource I found invaluable when learning assembly was gcc. There are compiler options so that you may output whatever c/c++ code as assembly, and allow you to compile that code.

The following...