A GRAND PRIZE of Kit-Kat bars will be awarded to anyone who writes a working emitIntel.ml.
See http://www.drpaulcarter.com/pcasm/ for
a great PC Assembly tutorial using NASM. This should get you started (with things like
the file asm_io.inc that includes IO code that can be linked in with your code,
and a driver.c program as well).