batch file to build the testing program, hello world
numbers of project for testing
basic to the build and easy step
https://flatassembler.net/download.php
mine was E:\FASM\
my_project/win_hello/build.bat
SET FASM=E:\FASM
初次用 FASM 列出 LISTING, 看了一陣子 HELP, 寫了一個 build.bat, 方便編譯不用每次手動輸入指令.
build.bat, 編譯源碼用,
例如把 a.asm 拖到這個 build.bat, 就會執行編譯動作, 產生 a.asm.exe.
如果用 command prompt 手工輸入, 等同以下指令,
fasm a.asm a.asm.exe
job done, ie. hello_win32.asm.exe will be generated.