movl $0,-4(%rsp) #t=0
leap -4(%rsp),%rax #&t
I am confused with the meaning of -4(%rsp)
. In the first line, it seems to represent the memory, but in the second line it seems to be the address. In my opinion, the first line should be movl $0,(-4(%rsp))
Where am I wrong?