参考:https://www.cnblogs.com/allbymyself/p/3270148.html
照着博主似乎不能完全正确呢
工作目录下建立build.bat
@echo off
REM 设置环境变量
@set include=C:\masm32\include
@set lib=C:\masm32\lib
@set path=C:\masm32\bin;%path%
echo Environment Variables Initalization Done!
cd %2
ml /c %1.asm
link16 %1.obj
新建一个build文件
{
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.asm",
"encoding":"cp936",
"variants":
[
{
"name": "Run",
"shell_cmd": "build.bat \"${file_path}\" && \"${file_base_name}\" "
}
]
}
打完收工