What does movl $_start,

后端 未结 2 1840
醉话见心
醉话见心 2021-01-02 18:26

What does \'$\' followed by an identifier mean?

x86 assembly, AT&T syntax.

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-02 19:10

    Generally it means an "immediate" value, ie a number, as opposed to another register value, something retrieved from memory, etc. So, in this case, it's moving the number associated with the symbol _start into the eax register.

提交回复
热议问题