notepad++中配置簡易masm匯編語言IDE(詳細(xì))_第1頁
notepad++中配置簡易masm匯編語言IDE(詳細(xì))_第2頁
notepad++中配置簡易masm匯編語言IDE(詳細(xì))_第3頁
notepad++中配置簡易masm匯編語言IDE(詳細(xì))_第4頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、notepad+中配置簡易masm匯編語言IDE(詳細(xì)by chenjx 2015/5/16鑒于網(wǎng)上流傳的教程總是會(huì)存在某些瑕疵,決定把自己的配置過程寫出來與大家分享。先把基礎(chǔ)概念放在前面1. notepad+ 的默認(rèn)工作目錄為 notepad+ 所在目錄,故一切輸出默認(rèn)皆在此。故要改變當(dāng)前的工作目錄,必須先使用 “cd 目標(biāo)目錄” 命令進(jìn)行切換。2. windows 命令行中,如果要使用 符號,必須使用兩道 。3. 為防止路徑中出現(xiàn)空格而導(dǎo)致出錯(cuò),使用雙引號("my_path"來包含路徑,對于環(huán)境變量也如此。4. 如果想直接執(zhí)行某一個(gè)命令而不想輸入其路徑,則必須先把其所在

2、目錄放置到環(huán)境變量 path 中。5. 使用 “command /?” 來獲得命令的幫助。原材料win7 32位,notepad+,masm615(本人從老外網(wǎng)站下載的masm,版本v6.15步驟把 masm615 包解壓縮到 c:Program Files 下環(huán)境變量 path 下添加路徑:c:Program Filesmasm615計(jì)算機(jī) | 屬性 | 高級系統(tǒng)設(shè)置 | 環(huán)境變量 |系統(tǒng)變量(用戶變量也行在 notepad+ 中,按 F5 打開運(yùn)行對話框輸入命令:cmd /k cd /D "$(CURRENT_DIRECTORY" & ml /c "$

3、(FULL_CURRENT_PATH" & pause & exit點(diǎn)擊保存,并輸入名稱和快捷鍵命名:assembly .asm快捷鍵:ctrl-alt-,(英文的逗號輸入命令:cmd /k cd /D "$(CURRENT_DIRECTORY" & ml "$(NAME_PART".obj & pause & exit點(diǎn)擊保存,并輸入名稱和快捷鍵命名:link .obj快捷鍵:ctrl-alt-.(英文的句點(diǎn)輸入命令:cmd /k cd /D "$(CURRENT_DIRECTORY"

4、; & $(NAME_PART.exe & pause & exit點(diǎn)擊保存,并輸入名稱和快捷鍵命名:execute .exe快捷鍵:ctrl-alt-/(斜杠輸入命令:cmd /k cd /D "$(CURRENT_DIRECTORY" & debug $(NAME_PART.exe & pause & exit點(diǎn)擊保存,并輸入名稱和快捷鍵命名:debug .exe快捷鍵:ctrl-alt-;(英文分號其他 IDE 配置也同理。附:notepad+ 參考原文To run a new command:Sselect Run-&

5、gt;Run. A dialog will pop up asking for the path to the program and possible any command line parameters. You can use the browse button to search for your program. The drop down list provides recently run programs. The command line arguments can also be based on the status of the current document, a

6、nd are always enclosed in $(., where can be:FULL_CURRENT_PATHthe fully qualified path to the current document.CURRENT_DIRECTORYThe directory the current document resides in.FILE_NAMEThe filename of the document, without the directory.NAME_PARTThe filename without the extension.EXT_PARTThe extension

7、of the current document.NPP_DIRECTORYThe directory that contains the notepad+.exe executable that is currently running.>CURRENT_WORDThe currently selected text in the document.CURRENT_LINEThe current line number that is selected in the document (0 based index, the first line is 0.CURRENT_COLUMNThe current column the cursor resides in (0 based index, the first position on the line is 0.For example,"$(NPP_DIRECTORYnotepad+.exe" -multiInst "$(FULL_CURRENT_PATH"would start a new instance of Notepad+ opening the current file. Rememb

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論