summaryrefslogtreecommitdiff
path: root/stage1/print.asm
blob: 3505eb66df45663e787f2f5bceac7115c0c8c793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; uses eax, ebx
print_str:
	mov ah, 0x0E
.print:
	mov al, [ebx]
	cmp al, 0
	je .return
	int 0x10
	inc ebx
	jmp .print
.return:
	ret