如何用VC++2005 Express 开发MASM程序

为什么用VC++2005 Express开发汇编程序呢?
这两个都是免费的!

http://www.csie.ntu.edu.tw/~cyy/courses/assembly/06fall/lectures/tutorial/asm.html

Simple Tutorial of Writing MASM with Visual C++ 2005 Express

Installation

Visual C++ 2005 Express
Download from Microsoft
Difference among editions
MASM
Download from Microsoft or copy MASMsetup.EXE from in your CD.
Visual Studio 2003
Download from NTUCC

Start a Project

(You can skip the following instruction and download this template and modify for your application. But we suggest you to quickly scan this tutorial to figure out what you have to do in your final project.)

  1. Create a "New Project" and choose "emptyproj".
    newproj.jpg
  2. Right click on "Source Files" -> "Add" -> "Existing Item..." -> Add your file.asm . First time you add your asm file, you have to choose the rule. NOTE that you have to ADD ONE ASM FILE FIRST in Visual C++ 2005 Express.

    matchrule.jpg

    Right click on file.asm, choose "properties", choose the "General" on the left hand side, and you'll see "Microsoft Macro Assembly" on the right if your rule matching is successful.

    masmconfig.jpg
  3. Probably you want to link with external library. In this case, go head right click on your project on the left column and choose the properties. Add your lib file as this picture shows:

    lib.jpg

    If your lib file is not located in the default path (.), you have to add additional direcotry here:

    libdir.jpg
  4. To debug in VC++ 2005, you have to turn on debug option:

    debug.jpg
  5. Click "Debug" on the menu bar and choose "Start Debugging" to run your program.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值