Rev 145 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
145 | halyavin | 1 | format ELF |
159 | halyavin | 2 | include "public_stdcall.inc" |
145 | halyavin | 3 | section '.text' executable |
159 | halyavin | 4 | public_stdcall _msys_putpixel,12 |
145 | halyavin | 5 | ;arg1 - x |
6 | ;arg2 - y |
||
7 | ;arg3 - color |
||
8 | push ebx |
||
9 | xor eax,eax |
||
10 | mov ebx,[esp+8] |
||
11 | inc eax |
||
12 | mov ecx,[esp+12] |
||
13 | mov edx,[esp+16] |
||
14 | int 0x40 |
||
15 | pop ebx |
||
16 | ret 12 |