开发者

assembly visual studio 2010

开发者 https://www.devze.com 2023-03-22 21:24 出处:网络
; 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] ?EBP is the frame pointer. Since c is a local variable or
; 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] ?


EBP is the frame pointer. Since c is a local variable or argument, c is an offset relative to the frame pointer.

0

精彩评论

暂无评论...
验证码 换一张
取 消