Code from the GitHub URL:
printf:
mov ah,0x0e
mov bh,0x00
mov bl,0x07
next:
mov al,[si]
or al,al
jz done
int 0x10
inc si
jmp next
done:
ret
The above requires that
DS:SI
is pointing to a null terminated string. So you need something like this:
SECTION .data
minus3: db "---", 0
SECTION .TEXT
; ...
; DS must be .data which it usually is
mov si,minus3
call printf