Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Count1:
- mov eax,0;counter
- push ecx
- mov ecx, dword ptr n
- Count2:
- cmp [mat][esi],0
- jg Gr
- inc esi
- cmp ecx,1
- jne Neql
- inc esi
- mov eax,0
- jmp Skip
- Neql:
- dec ecx ; ?
- Count3:
- cmp [mat][esi],0
- jl Ls
- inc eax
- Ls:
- inc esi
- loop Count3
- jmp Skip
- Gr:
- inc esi
- loop Count2
- Skip:
- mov dword ptr count,eax
- pushad
- invoke wsprintf, addr ResStr, addr szFormat, eax
- ;invoke dwtoa, eax, addr ResStr
- invoke StdOut, addr ResStr
- popad
- pop ecx
- loop Count1
Advertisement
Add Comment
Please, Sign In to add comment