and dword ptr [ebp-4], 0
In assembly code like above, what does the term PTR
stand for?
I know their usage -- size direct
The point of this hint is to tell the size of the operand.
You're writing to a point in memory. As you're only giving a 0, it doesn't know if it should write a byte, or word, or doubleword. The dword ptr
means "write a doubleword". Yes, it stands for pointer, because you put a memory address as destination.