Following are several good tutorials and a YouTube playlist for learning how to code in NASM:
https://www.youtube.com/playlist?list=PL2EF13wm-hWCoj6tUBGUmrkJmH1972dBB