賀開板!(眾人:慢!)
總之附上一篇去年用到滿多次的文(今年不管用別找我,我不想重溫 =_=+ )
-----
VC++ 6.0 的 MASM 設定(設定完後可以直接在 VC 上寫組語作業)
1. 先開啟 VC++ ,然後選 Tools -> Customize...
2. 切換到 Tools 頁面
3. 在 Menu contents: 欄位裡輸入 Build 16-bit MASM
--------------------以下是此指令細節--------------------
Command: cmd.exe
Arguments: /C C:\Masm615\make16.bat $(FileName)
<請輸入 make16.bat 的所在位址>
Initial directory: $(FileDir)
<三個選項都不要勾選>
--------------------------------------------------------
4. 在 Menu contents: 欄位裡輸入 Debug 16-bit MASM
--------------------以下是此指令細節--------------------
Command: cmd.exe
Arguments: /C C:\Masm615\runCV.bat $(FileName)
<請輸入 runCV.bat 的所在位址>
Initial directory: $(FileDir)
<只要勾選最右邊那項>
--------------------------------------------------------
5. 在 Menu contents: 欄位裡輸入 Build 32-bit MASM
--------------------以下是此指令細節--------------------
Command: cmd.exe
Arguments: /C C:\Masm615\make32.bat $(FileName)
<請輸入 make32.bat 的所在位址>
Initial directory: $(FileDir)
<只要勾選最右邊那項>
--------------------------------------------------------
6. 在 Menu contents: 欄位裡輸入 Debug 32-bit MASM
--------------------以下是此指令細節--------------------
Command:
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\msdev.exe
<請利用「瀏覽」找出 msdev.exe 的位址>
Arguments: $(FileName).exe
Initial directory: $(FileDir)
<三個選項都不要勾選>
--------------------------------------------------------
7. 在 Menu contents: 欄位裡輸入 Run MASM
--------------------以下是此指令細節--------------------
Command: cmd.exe
Arguments: /C $(FileName).exe
Initial directory: $(FileDir)
<三個選項都不要勾選>
--------------------------------------------------------
8. 測試一下能不能正確運作
注意:
1. Arguments 和 Initial directory 都有大小寫區分
2. /C 跟後面的位址之間要空一格
3. 如果是在 Windows 98 或 Me 的環境下設定,必須改幾個指令:
1> 所有 cmd.exe 要改成 command.com
2> 所有 Build 的 Arguments: 都要改成 /E:4096 /C <位址>
-----
--
所謂FPS就是「每學期當人比率」(Flunk ratio Per Semester),
是參考老師評價的重要指標之一。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.73.233.59
※ 編輯: Rabby250 來自: 203.73.233.59 (10/01 21:13)