makeit.bat
来自「这是一个数字图像处理的matlab仿真程序」· Batch 代码 · 共 39 行
BAT
39 行
@echo off
if exist %1.obj del testinst.obj
if exist %1.exe del testinst.exe
: -----------------------------------------
: assemble testinst.asm into an OBJ file
: -----------------------------------------
\MASM32\BIN\Ml.exe /c /coff testinst.asm
if errorlevel 1 goto errasm
: -----------------------
: link the main OBJ file
: -----------------------
\MASM32\BIN\PoLink.exe /SUBSYSTEM:WINDOWS /merge:.data=.text testinst.obj > nul
if errorlevel 1 goto errlink
dir testinst.*
goto TheEnd
:errlink
: ----------------------------------------------------
: display message if there is an error during linking
: ----------------------------------------------------
echo.
echo There has been an error while linking this project.
echo.
goto TheEnd
:errasm
: -----------------------------------------------------
: display message if there is an error during assembly
: -----------------------------------------------------
echo.
echo There has been an error while assembling this project.
echo.
goto TheEnd
:TheEnd
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?