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:: Add Line Numbers


compiles to... by DELTRON
    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