I've got the following line of code in an assembly level language task:
and dword ptr[esi], 0xFF
From my understanding dword is 32 bits, and FF means we're storing 8 bits or 1 byte into ptr[esi], but what's ptr and what is the purpose of using square brackets to reference our esi register?
Also, how does using an and change the meaning of the line?
Thank you.