Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .686
- .model flat
- public _sortowanie
- extern _GetComputerNameA@8 : PROC
- extern _write : PROC
- .data
- nazwa db 80 dup('?')
- rozmiar dd 80
- .code
- _sortowanie PROC
- push ebp
- mov ebp, esp
- push esi
- push edi
- push ebx
- mov esi, 0C1040000h
- mov eax, esi
- and eax, 80000000h
- rol eax, 1
- mov ebx, eax
- rol ebx, 11
- mov eax, esi
- and eax, 7F800000h
- rol eax, 9
- add eax, 1023
- sub eax, 127
- or ebx, eax
- shl ebx, 20
- mov eax, esi
- and eax, 007FFFF8h
- shr eax, 3
- or ebx, eax
- mov eax, esi
- and eax, 00000003h
- ror eax, 3
- pop ebx
- pop edi
- pop esi
- pop ebp
- ret
- _sortowanie ENDP
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement