I'm reading an assembly book and I have stumbled upon an example:
...
dValue dd 0
mov dword [dValue], 27 ; dValue = 27
...
The author says dValue equals 27 after that snippet. As I understand it [] are used similarly to how the dereference operator is used in C. So this line: mov dword [dValue], 27 I would interpret it like something like this in C: *dValue = 27 which in this case would be dValue = 0 and at address 0 we would have 27.
Am I wrong? Please help me understand this. Thank you!