Rev 145 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 145 | Rev 159 | ||
---|---|---|---|
1 | format ELF |
1 | format ELF |
- | 2 | include "public_stdcall.inc" |
|
2 | section '.text' executable |
3 | section '.text' executable |
3 | - | ||
4 | public _msys_debug_out |
4 | public_stdcall _msys_debug_out,4 |
5 | _msys_debug_out: |
- | |
6 | ;arg1 - char to out |
5 | ;arg1 - char to out |
7 | push ebx |
6 | push ebx |
8 | mov ecx,[esp+8] |
7 | mov ecx,[esp+8] |
9 | mov ebx,1 |
8 | mov ebx,1 |
10 | mov eax,63 |
9 | mov eax,63 |
11 | int 0x40 |
10 | int 0x40 |
12 | pop ebx |
11 | pop ebx |
13 | ret 4 |
12 | ret 4 |