

main:
    mov si,hello_greeting
    call print_string
    hlt

; Prints string in SI
print_string:
    mov bx,0
print_string_loop:
    mov al,[SI+BX]
    inc bx
    cmp al,0
    je print_string_done
    call print_char
    jmp print_string_loop
print_string_done:
    ret

; prints char in al
print_char:
    mov ah,0x0e
    int 0x10
    ret


hello_greeting:
db "Hello String  :)",0
