puts.asm
Jacajack_sokoboot/asm/stdio/puts.asm
%ifndef STDIO_PUTS
%define STDIO_PUTS

;Print null terminated string on screen
;si - string address
puts:
	pushf
	pusha
	mov ah, 0xE
	puts_l1:
		cmp [si], byte 0
		je puts_end
		mov al, [si]
		int 0x10
		inc si
		jmp puts_l1
	puts_end:
	popa
	popf
	ret

%endif
