zoukankan      html  css  js  c++  java
  • 如何用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".
    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.

      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.

    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:

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

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

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

  • 相关阅读:
    linux 进程间通信之pipe
    makefile详解
    makefile基础
    std::list 源代码解析
    各类编译器 allocator 底层
    oop &&GP 模板 ---> 特化和偏特化
    STL Allocator
    关联式容器
    vector::erase
    maven
  • 原文地址:https://www.cnblogs.com/WuCountry/p/913593.html
Copyright © 2011-2022 走看看