mov si, msg
mov bx, 7
mov ah, 0Eh
print:
lodsb
or al, al
jz dunprintin
int 10h
jmp short print
dunprintin:
...
msg 'Hello, Jaff!', 0 : note: zero terminated!
Or:
mov si, msg
mov ah, 5 ; color
push es
push 0B800h
pop es
mov di, (10 * 80 + 30) * 2 ; row 10, column 30
top:
lodsb
or al, al
jz done
stosb ; store char *and* color
jmp short top
done:
pop es
...
...if ya want to do it with no ints at all... There are other options. See Ralf Brown's Interrupt List -
http://www.pobox.com/~ralfBest,
Frank