Rev 9666 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9666 | turbocat | 1 | format ELF |
2 | section '.text' executable |
||
3 | public memset |
||
4 | |||
5 | memset: |
||
9774 | turbocat | 6 | push edi |
7 | mov edi, [esp+8] |
||
8 | mov eax, [esp+12] |
||
9 | mov ecx, [esp+16] |
||
10 | jecxz .no_set |
||
11 | cld |
||
12 | rep stosb |
||
9666 | turbocat | 13 | .no_set: |
9774 | turbocat | 14 | mov eax, [esp+8] |
15 | pop edi |
||
16 | ret |