Of course, to do that, you need to find the manual for your machine architecture. The x86 manuals are, for example, available here:
http://www.intel.com/content/www/us/en/processors/architectu...
You also then start to notice things like the operating system specific application binary interfaces (ABI):
http://www.x86-64.org/documentation/abi.pdf
and object file formats such as ELF that's used in Linux:
http://www.skyfree.org/linux/references/ELF_Format.pdf
or Mach-O used in Mac OS X:
https://developer.apple.com/library/mac/documentation/develo...
You can also do the same thing with the JVM and look at its JIT-generated machine code with the '-XX:+PrintCompilation' option:
http://stackoverflow.com/questions/13086690/understanding-th...