Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _base36_na_uint64 PROC
- push ebp
- mov esp, ebp
- mov esi, [ebp+8]
- mov edi, 36
- xor ebx, ebx
- xor ecx, ecx
- xor edx, edx
- dec ecx
- ;szukam ktory to znak
- ptl:
- inc ecx
- mov bl, byte ptr [esi]
- cmp bl, 0
- je koniec
- cmp bl, znaki36[ecx]
- je dodaj
- jmp ptl
- dodaj:
- mul edi
- add eax, ecx
- inc esi
- jmp ptl
- koniec:
- pop edx
- pop ebx
- pop edi
- pop esi
- pop ebp
- ret
- _base36_na_uint64 ENDP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement