


全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年广东省低空经济产业发展有限公司招聘真题
- 2025年湖北省公路水运工程施工企业安管人员考试(项目负责人B类)水路工程经典试题及答案
- 2025年人教版高中英语主语从句单选题30题及答案
- 注册环保工程师考试(大气污染防治专业案例)全真模拟题库及答案(扬州2025年)
- 2025年金属冶炼单位主要负责人考试(金属冶炼镁及镁合金制造与铸造)全真模拟试题及答案
- 综合解析人教版八年级上册物理物态变化《汽化和液化》达标测试试卷(含答案详解)
- 难点详解人教版八年级物理上册第5章透镜及其应用-生活中的透镜定向测试练习题(含答案详解)
- 考点攻克人教版八年级物理上册第5章透镜及其应用综合测评试卷(含答案详解版)
- 热水器除垢施工方案范本
- 心理咨询教师工作方案
- 《相互作用-力》单元设计
- 机械制造技术课程设计-法兰轴套加工工艺铣R6圆弧槽夹具设计
- 《胆管手术术后胆瘘》课件
- 《动物营养学》全套教学课件
- 职业病化学中毒考试试题及答案
- 2023-2024学年重庆市潼南区四年级(上)期末数学试卷
- 膝关节损伤术后康复运动康复方案设计
- 医保法律法规培训
- 新版苏教版三年级数学上册《间隔排列》教案
- 物流配送责任免除协议条款
- MRI常见伪影简介课件
评论
0/150
提交评论