- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
汇编语言将一个窗口的实质显示出来(Assemble language display the essence of a window)
汇编语言将一个窗口的实质显示出来(Assemble language display the essence of a window)
Understand this knowledge you need: 8086 assembly instructions, the basic knowledge of WINDOWS window, using the basic API function
.
The purpose of this paper: the essence of a window is displayed, i.e., all data are computer numerical data, computer data structure used to represent a kind of resources, whether it is hardware resources, software resources,.
Modular:
A module is a representative of the operation of the EXE file or DLL file, used to represent the code and all the resources in the file on the disk.
File is not a module, file is loaded into memory modules, each module with a module handle to mark.
In WIN32, the module handle is equal to the starting address of the program in the memory into the numerical value.
Handle:
The handle is only a numerical value only, it has no meaning for a program, it is used to express a variety of WINDOWS resources number only, so only WINDOWS knows how to reference it. Even if the resources marked. .
Knowledge points: local variable is used to do EBP pointer operation, because the value of EBP with the program execution environment may be different, to send the address value with LEA in the 80386 processor, and placed in EAX, then EAX will use the stack
The disassembly code is as follows:
Call 00401F6 / / WINMAIN function calls, 00401F6 as a function of entrance.
The following is the WINMAIN window function
Push EBP
Mov EBP, esp / / save the stack pointer.
Add ESP, -50 / / as a function of local variable or parameter space allocation.
Push0 //is NULL, GetModuleHandle returns a handle to the file used to create the calling process.
Call jmp.kernel32.GetModuleHand// system kernel calls - is used to retrieve the module handle
Mov DWORD PTR [403000], eax / / save GETMODULEHAND returns a handle
2000 / / Push call stack parameters
Push doword PTR [403000] / / call parameters into the stack, note that the program parameters of different language stack agreement
您可能关注的文档
- 健身计划--对初练健美人的建议(健身几年来的体会)(Fitness program -- advice for beginning bodybuilders).doc
- 兼容性测试(Compatibility testing).doc
- 会计报表的缺陷-谢志华doc(Defects in accounting statements - Xie Zhihua, doc).doc
- 兼容代码(compatibility code).doc
- 佳能带喷头的墨盒加墨水及注意事项(Canon ink cartridge with nozzle and ink).doc
- 健康小锦囊8招教你轻松阻击女性背痛(Health tips 8 strokes teach you to easily check the female back pain).doc
- 会面礼仪_金正昆(Jin Zhengkun _ meeting etiquette).doc
- 决定企业 执行力的五个因素(Five factors that determine the executive power of an enterprise).doc
- 决定股票的价格(Determine the price of a stock).doc
- 决策中的领导艺术(The art of leadership in decision making).doc
- 汇编速成(Assembly Express).doc
- 江苏农商行考试科学阅读申论材料(Jiangsu agricultural firm examination on the application of materials science reading).doc
- 江苏各个城市名字的由来(The origin of the names of cities in Jiangsu).doc
- 江苏省各个省市命名来历(The names of provinces and cities in Jiangsu).doc
- 江苏省大学生创业设计大赛创业计划书写作统一规范指导(Jiangsu college students design competition, business plan writing, unified standardized guidance).doc
- 江西省2012年中等学校招生考试化学及答案(Chemistry and answers of secondary school entrance examination in Jiangxi Province in 2012).doc
- 活动策划技巧全攻略(Activities planning skills Raiders).doc
- 洁身器知识入门(Bidet knowledge.).doc
- 济南3000管理余人为早领退休金造假 涉及7亿多元(Ji'nan 3000 management over early retirement pension fraud involving more than 700 million yuan).doc
- 汇编语言复习3(Assembly language review 3).doc
最近下载
- DBJ50_T-281-2018:建筑工程信息模型设计交付标准.pdf VIP
- 统编版高中政治必修4《哲学与文化》知识点复习提纲(实用,必备!).docx VIP
- 如何找回误删微信好友,微信好友一键恢复.doc VIP
- NFPA 326-2015 对进入、清洗或修理的储罐和容器的保护.pdf VIP
- 2025年国家开放大学电大《管理会计》形考任务1-10网考题库附答案附答案.pdf VIP
- 三相异步电机的起动授课课件.pptx VIP
- 2025年及未来5年中国示波器行业市场调研分析及投资前景预测报告.docx
- Z公司客户关系管理问题研究.docx VIP
- 第2章有导体时的静电场.ppt VIP
- 大班-数学-我会找位置-课件.ppt VIP
文档评论(0)