There is a completely excusable misunderstanding:
of course [y] will mean [0xCCCCCCCC] (if address x is 0xCCCCCCCC)
In high level theory, yes. The problem is that in a real assembly [0xCCCCCCCC]it makes no sense - the processor cannot dereference the memory address directly - it can only load the value from this address into the register, and then play it out.
, y - , , 1 y asm &y C 2. , , , , ( ) mov y, eax.
, , :
asm {
mov eax, 62
mov edx, y
mov [edx], eax
}
[1] GCC. GCC extended asm - ...
[2] - "" C, , . , y [ebp-20], " ".