概要
nasmの作法、調べてみた。
環境
windows vista 32bit
visual studio 2010
nasm 2.15 win32
参考にしたページ
実行
visual studio 2010のコマンドプロンプトで実行。
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
C:\Program Files\Microsoft Visual Studio 10.0\VC>cd c:\nasm
c:\nasm>nasm -fwin32 hello.asm
c:\nasm>link hello.obj /ENTRY:main /SUBSYSTEM:CONSOLE /defaultlib:kernel32.lib
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
c:\nasm>hello
Hello, World
c:\nasm>
以上。