Advertisement
hugol

Untitled

Nov 26th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mov ebx, offset liczba
  2.  
  3.     mov al, [ebx]
  4.     shl eax, 8
  5.  
  6.     mov al, [ebx+1]
  7.     shl eax, 8
  8.  
  9.     mov al, [ebx+2]
  10.     shl eax, 8
  11.  
  12.     mov al, [ebx+3]
  13.  
  14.  
  15. -------------------------------
  16.  
  17.  
  18.     mov edx, 12345678h
  19.  
  20.     xor eax, eax
  21.  
  22.     mov ecx, 0ff000000h
  23.     and ecx, edx
  24.     shr ecx, 24
  25.     or eax, ecx
  26.  
  27.     mov ecx, 00ff0000h
  28.     and ecx, edx
  29.     shr ecx, 8
  30.     or eax, ecx
  31.  
  32.     mov ecx, 0000ff00h
  33.     and ecx, edx
  34.     shl ecx, 8
  35.     or eax, ecx
  36.  
  37.     mov ecx, 000000ffh
  38.     and ecx, edx
  39.     shl ecx, 24
  40.     or eax, ecx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement