[bits 16]
[org 0]


main:
	mov	ax,cs
	mov	ds,ax
	mov	es,ax
	push	bp
	mov	bp,sp
	push	word C0
	call	k_print
	add	sp,word 2
	leave
	jmp 0x1000:0

k_print:
        push bp
        mov bp,sp
        mov si,[bp+4]
        again:
        mov al,[si]
        mov ah,0eh
        int 10h
        inc si
        mov al,[si]
        cmp al,0
        je endit
        jmp again
        endit:
        mov sp,bp
        pop bp
        ret


C0: db "Hello, World!",10,"",0

