@bot #asm
org 30000

start:
LD HL, hello

print_char:
LD A, (HL)
CP 0
JR Z, exit
RST $10
INC hl
JR print_char

exit:
DJNZ start
RET

hello:
db "Hello, world!", $0D, 0

end start