|
在汇编中,经常看到这些语句,不知道是何作用?高手帮小弟解困
问题1:都是ax清零的作用,mov ax,0(16位汇编)指令长度为5B,而sub ax,ax占指令长度为4B。在反汇编中一般都用xor eax,eax(32位汇编)实现上述功能(占3B空间),节省空间。sub影响标志位,mov不影响。 问题2:push dx pop ax通过入栈出栈方式改变寄存器的值,与mov ax,dax效果一样,没什么区别,反汇编中由于大部分变量都是在堆栈操作,故经常通过栈改变变量的值。 问题3:该语句用于测试ax的值是否为1。test ax,1 等价于and ax,1(“与”操作),结果反映在标志位上(ZF),但不返回;意思是说仅仅影响标志位(ZF)而已,ax的值还是没变化的。通常用于测试,后常跟 jz、jnz之类的跳转。 希望能对你有所帮助。 |
|
谁能传我看雪2010工具包分包的第五卷,谢谢~~
恩 不好意思咯 。刚我已上传到纳米盘了,地址在你邮箱里。 |
|
谁能传我看雪2010工具包分包的第五卷,谢谢~~
已发到邮箱 请查看 希望是你要的 |
|
[求助]关于购买注册码
恭喜楼主咯。我的加油啦。 |
|
[求助][求助]对反汇编、破解等非常感兴趣,但不知道如何入门? 请大虾们指教下小弟! 谢谢
这儿应该有你需要的。http://bbs.pediy.com/showthread.php?t=132188吧。 |
|
[推荐]发一个万能脱壳机
脱壳机还有万能的? |
|
[求助]网站被CC攻击了,怎么防护下?
俺不会。。。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值