I know that this line of code moves somthing into the eax register, but what does dword ptr [edx +15Ch] do ?
mov eax, dword ptr [edx + 15Ch]
does it take the value in edx and add 15C = Q , then load the value in address Q into eax? if so, what does the dword ptr mean in this conetxt?
dword ptris just a size specification but the size is obvious from theeaxtarget anyway. - Jesterdword ptris just a syntactical element, some assemblers use justdwordothers use size suffix. The cpu only sees the machine code, these things just help the assembler to pick the right instruction when it is ambiguous. In this caseeaxalready specifies the size. - Jestermov dword ptr[edx+15Ch], 1- Dirk Wolfgang Glomp