GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: No Line Numbers


compiles to... by DELTRON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
    int z = (*bd)|((*(bd+1))<<8)|((*(bd+2))<<16)|((*(bd+3))<<24);

    mov        eax,dword ptr [ebp-10h]
    xor        ecx,ecx
    mov        cl,byte ptr [eax]
    mov        edx,dword ptr [ebp-10h]
    xor        eax,eax
    mov        al,byte ptr [edx+1]
    shl        eax,8
    or         ecx,eax
    mov        edx,dword ptr [ebp-10h]
    xor        eax,eax
    mov        al,byte ptr [edx+2]
    shl        eax,10h
    or         ecx,eax
    mov        edx,dword ptr [ebp-10h]
    xor        eax,eax
    mov        al,byte ptr [edx+3]
    shl        eax,18h
    or         ecx,eax
    mov        dword ptr [ebp-14h],ecx