I have this:
bits 16 global start section .text start: add cx, 1234
With this Makefile:
test: @nasm -f macho64 test.asm