http://git.dujemihanovic.i2p?p=nameless-os.git;a=blob;f=boot/x86/stage3/print.s;h=73b34d5adb8f5cf4fb5215e051202a40278b296d
search: re 73b34d5adb8f5cf4fb5215e051202a40278b296d [nameless-os.git] / boot / x86 / stage3 / print.s 1 ; Routines for printing 2 3 print_str: 4 push ax 5 push bx 6 push si 7 mov ah, 0xe 8 xor bh, bh 9 mov bl, 0xf 10 .loop: 11 lodsb 12 cmp al, 0 13 je .done 14 int 0x10 15 jmp .loop 16 .done: 17 pop si 18 pop bx 19 pop ax 20 ret 21 22 ; AL - nibble to print 23 ; CF - clear prints low nibble, set prints high nibble 24 print_nibble: 25 print hex_delm 26 .no_delm: 27 pushf 28 push ax 29 push bx 30 pushf 31 xor...