what's 1f

lanhxg 2014-02-23 10:03:48

> A line from linux source is:
>
> movl $1f, %1 /*Save EIP*/
>
> May anyone explain me how this instruction saves
> EIP? (%1 is the structure member holding eip). My
> doubt is, what is this $1f and how it copies eip to
> %1.

...全文
136 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
lanhxg 2014-02-23
  • 打赏
  • 举报
回复
谢谢! 大牛啊~~~~~
  • 打赏
  • 举报
回复
$1f is the address of the 1 label. The f specifies to look for the first label named 1 in the forward direction

69,378

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧