任何人都知道什么" MOV EDI,EDI"呢? [英] Anyone knows what "mov edi,edi " does?

查看:260
本文介绍了任何人都知道什么" MOV EDI,EDI"呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

69A8AB13  int         3    
69A8AB14  int         3    
69A8AB15  mov         edi,edi 
69A8AB17  push        ebp  
69A8AB18  mov         ebp,esp 

MOV EDI,EDI 对我来说没有什么意义,有什么用的?

mov edi,edi doesn't make sense for me,what's it for?

推荐答案

这是一个2字节的NOP指令。它被包含在任何功能的使用/ hotpatch选项编译图像中的开头:

It's a 2 byte NOP instruction. It gets included at the beginning of any function in an image compiled with the /hotpatch option:

<一个href=\"http://msdn.microsoft.com/en-us/library/ms173507.aspx\">http://msdn.microsoft.com/en-us/library/ms173507.aspx

斯科特

这篇关于任何人都知道什么&QUOT; MOV EDI,EDI&QUOT;呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆