Reputation: 10539
; 5 : int c=0;
mov DWORD PTR _c$[ebp], 0
I don't understand the syntax, why c is referenced without bracket and why add [ebp] ?
Upvotes: 1
Views: 216
Reputation: 43728
EBP
is the frame pointer. Since c is a local variable or argument, c
is an offset relative to the frame pointer.
Upvotes: 3