[BITS 16]
[ORG 0x0200]

[GLOBAL START]

  MOV SI, Hello
  CALL PrintString
  
JMP $

PrintString:
  next_character:
    MOV AL, [SI]
    INC SI
    OR AL, AL
    JZ exit_function
    CALL PrintChar
    JMP next_character

PrintChar:
  MOV AH, 0x0E
  MOV BH, 00
  MOV BL, 05
  INT 10h
  RET

exit_function: 
  RET

Hello	db "Hello, World!",10,13,0,13,0
TIMES 510 - ($ - $$) db 0
DW 0xAA55

