Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int count(int *, int, int) {
- _asm{
- mov eax, 0
- mov edi, 0
- mov ebx, [ebp+8]
- mov ecx, [ebp+12]
- mov edx, [ebp+16]
- _while:
- cmp edi, ecx
- je _endwhile
- cmp edx, [ebx + 4*edi]
- jne _skip_inc
- inc eax
- _skip_inc:
- inc edi
- jmp _while
- _endwhile:
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement