For learning purposes, I am trying to create a toy assembly program that runs a function in a separate thread. My machine has the x86-64 architecture and runs the Ubuntu OS.