2006-09-07 16:14:53 +02:00
|
|
|
format ELF
|
2007-08-24 21:49:07 +02:00
|
|
|
|
|
|
|
include "proc32.inc"
|
|
|
|
|
2006-09-07 16:14:53 +02:00
|
|
|
section '.text' executable
|
2007-08-24 21:49:07 +02:00
|
|
|
|
|
|
|
public _msys_debug_out
|
|
|
|
|
|
|
|
align 4
|
|
|
|
proc _msys_debug_out stdcall, c:byte
|
|
|
|
|
|
|
|
xor ecx,ecx
|
|
|
|
mov cl,byte[c]
|
2006-09-07 16:14:53 +02:00
|
|
|
mov ebx,1
|
|
|
|
mov eax,63
|
|
|
|
int 0x40
|
2007-08-24 21:49:07 +02:00
|
|
|
ret
|
|
|
|
|
|
|
|
endp
|