-- MASM

Visual studio 6.0에서 어셈블리어 컴파일 설정법

어린왕자악꿍 2008. 3. 11. 13:44

Some important guidelines to follow before continuing with the instructions on this page:

  • We will assume that you have installed the assembler in the C:\Masm615 directory.
  • The 16-bit linker supplied with MASM does not permit filenames longer than eight characters, excluding the extension. The same goes for the directory name holding the program.
  • Make sure your source filenames have .ASM extensions and they are no longer than eight characters (not counting the extension).

The following is a simplified listing, minus all the remark (REM) lines of make32.bat:

 

REM make32.bat - Batch file for assembling/linking 32-bit Assembly programs
REM
 Revised: 11/15/01
@echo off
cls
REM The following three lines can be customized for your system:
REM ********************************************BEGIN customize
SET PATH=C:\Masm615
SET INCLUDE=C:\Masm615\INCLUDE
SET LIB=C:\Masm615\LIB
REM ********************************************END customize
ML -Zi -c -Fl -coff %1.asm
if errorlevel 1 goto terminate
REM add the /MAP option for a map file in the link command.
LINK32 %1.obj irvine32.lib kernel32.lib /SUBSYSTEM:CONSOLE /DEBUG
if errorLevel 1 goto terminate
dir %1.*
:terminate
pause

파일메뉴 Tools -> cumstomize -> tools


 

(Run 부분) argument 안에 (FileName).exe -> $(FileName).exe 로 수정해야함


[출처]Visual studio 6.0에서 어셈블리어 컴파일 설정법|작성자티타니아