A small script that simply prints a given string. It's an improved snippet that combines some recommendations given in my post on string helper functions.
org 100hmov si, hellocall putsretputs: jmp .run.putc: mov ah, 0Eh mov bx, 7 int 10h.run: lodsb cmp al, 0 jne .putc rethello db "Hello World!", 0