Rev 145 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 145 | Rev 159 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | format ELF |
1 | format ELF |
- | 2 | include "public_stdcall.inc" |
|
2 | section '.text' executable |
3 | section '.text' executable |
3 | public _msys_send_message |
4 | public_stdcall _msys_send_message,12 |
4 | _msys_send_message: |
- | |
5 | ;arg1 - pid |
5 | ;arg1 - pid |
6 | ;arg2 - msg |
6 | ;arg2 - msg |
7 | ;arg3 - size |
7 | ;arg3 - size |
8 | push ebx esi |
8 | push ebx esi |
9 | mov eax,60 |
9 | mov eax,60 |
Line 13... | Line 13... | ||
13 | mov esi,[esp+20] |
13 | mov esi,[esp+20] |
14 | int 0x40 |
14 | int 0x40 |
15 | pop esi ebx |
15 | pop esi ebx |
16 | ret 12 |
16 | ret 12 |
Line 17... | Line 17... | ||
17 | 17 | ||
18 | public _msys_define_receive_area |
- | |
19 | _msys_define_receive_area: |
18 | public_stdcall _msys_define_receive_area,8 |
20 | ;arg1 - area |
19 | ;arg1 - area |
21 | ;arg2 - size |
20 | ;arg2 - size |
22 | push ebx |
21 | push ebx |
23 | mov eax,60 |
22 | mov eax,60 |