kolibrios-gitea/programs/develop/metcc/trunk/libc/mesys/debug_board.asm

14 lines
197 B
NASM
Raw Normal View History

format ELF
section '.text' executable
public _msys_debug_out
_msys_debug_out:
;arg1 - char to out
push ebx
mov ecx,[esp+8]
mov ebx,1
mov eax,63
int 0x40
pop ebx
ret 4