[BITS 16]

[section .bss]

[section .text]

global main
global printf

main:
	push bp
	mov bp,sp
	push msg
	mov dx,printf
	call dx
	add sp,2
	mov ax,0
	mov sp,bp
	pop bp
	ret

printf:
	push bp
	mov bp,sp
	mov ax,0
	mov sp,bp
	pop bp
	ret

[section .data]

msg: db 'Hello, world!',10,0

