


全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Using Yasm with Visual Studio 2005 and VC+ version 8(1) Firstly you need to locate the directory (or directories) where the VC+ compiler binaries are located and put copies of the appropriate yasm.exe binary in these directories. 第一步就是应该把yasm.Exe放进VC的编译目录中。Windows Yasm executable binaries that are not named yasm.exe will need to be renamed yasm.exe after being placed in the appropriate directories.记得要改名 直接就是简单的yasm.exeOn a win32 system the win32 version of Yasm has to be used. On an x64 system either the 32 or the 64 bit versions can be used but the rules file is set up to use the 32 bit version. The win32 Yasm binary should be placed in the 32-bit VC+ binary directory, which is typically located at: Program Files (x86)Microsoft Visual Studio 8VCbinIf needed the 64-bit Yasm binary should be placed in the 64-bit tools binary directory, which is typically at: Program FilesMicrosoft Visual Studio 8VCbin(2) To use the custom tools facility in Visual Studio 2005, you need to place a copy of the yasm.rules file in the Visual Studio 2005 VC project defaults directory, which is typically located at: (为了搭载VS2005使用,需要另外添加一个yasm.Rules文件) Program Files (x86)Microsoft Visual Studio 8VCVCProjectDefaultsThis allows you to configure Yasm as an assembler within the VC+ IDE.To use Yasm in a project, right click on the project in the Solution Explorer and select Custom Build Rules. This will give you a dialog box that allows you to select Yasm as an assembler (note that your assembler files need to have the extension .asm).To assemble a file with Yasm, select the Property Page for the file and the select Yasm Assembler in the Tool dialog entry. Then click Apply and an additional property page entry will appear and enable Yasm settings to be established.As alternative to placing the yasm.rules files as described above is to set the rules file path in the Visual Studio 2005 settings dialogue.It is also important to note that the rules file passes the symbols Win32 or x64 to Yasm by using the Visual Studio 2005 $(PlatformName) macro in order to obtain either a 32 or a 64 bit assembler mode. This is a recent enhancement to YASM so you will need to be sure that you have Yasm version 0.5.0 or higher to use this facility.A Linker IssueThere appears to be a linker bug in the VC+ v8 linker that prevents symbols with absolute addresses being linked in DLL builds. This means, for example, that LEA instructions of the general form: lea rax,rax+symbolcannot be used for DLL builds. The following general form has to be used instea
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年初创企业市场营销经理面试预测题及解析
- DB61T 1717.4-2023 消费品召回工作规范 第4部分:召回实施
- DB61T 1679-2023 彰武松育苗技术规程
- 2025年中粮国际东南亚分公司招聘考试模拟试题及答案详解
- 青霉素过敏性休克诊疗与护理应急培训测试题及答案
- 水产养殖网络直播创新创业项目商业计划书
- 咖啡文化主题家居装饰创新创业项目商业计划书
- 橡胶防水材料应用创新创业项目商业计划书
- 自动化合规检查工具创新创业项目商业计划书
- 知识管理软件创新创业项目商业计划书
- 2025中国人民抗日战争暨世界反法西斯战争胜利80周年阅兵观后感心得体会3篇
- 眼睛保健操教学课件
- 成人脑室外引流护理标准解读
- 算法认识与体验(教学设计)-2024-2025学年人教版(2024)小学信息技术五年级全一册
- 2025年辅警笔试考试题库题库与答案
- 2025危险品押运员模拟考试试题及答案
- 2025年银发族市场洞察报告
- 义务教育阶段中小学学生转学申请表
- 20130405DCS系统报警联锁调试记录
- 场记单模板(共20页)
- 浙江省高速公路服务区建设指南
评论
0/150
提交评论