You are looking for the
NASM Tutorial