亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? nasmdoc2.htm

?? nasm手冊(cè) 大家可以看看 對(duì)要寫匯編程序的幫助很大
?? HTM
?? 第 1 頁 / 共 3 頁
字號(hào):
<html><head><title>NASM Manual</title></head><body><h1 align=center>The Netwide Assembler: NASM</h1><p align=center><a href="nasmdoc3.html">Next Chapter</a> |<a href="nasmdoc1.html">Previous Chapter</a> |<a href="nasmdoc0.html">Contents</a> |<a href="nasmdoci.html">Index</a><h2><a name="chapter-2">Chapter 2: Running NASM</a></h2><h3><a name="section-2.1">2.1 NASM Command-Line Syntax</a></h3><p>To assemble a file, you issue a command of the form<p><pre>nasm -f &lt;format&gt; &lt;filename&gt; [-o &lt;output&gt;]</pre><p>For example,<p><pre>nasm -f elf myfile.asm</pre><p>will assemble <code><nobr>myfile.asm</nobr></code> into an<code><nobr>ELF</nobr></code> object file<code><nobr>myfile.o</nobr></code>. And<p><pre>nasm -f bin myfile.asm -o myfile.com</pre><p>will assemble <code><nobr>myfile.asm</nobr></code> into a raw binaryfile <code><nobr>myfile.com</nobr></code>.<p>To produce a listing file, with the hex codes output from NASM displayedon the left of the original sources, use the <code><nobr>-l</nobr></code>option to give a listing file name, for example:<p><pre>nasm -f coff myfile.asm -l myfile.lst</pre><p>To get further usage instructions from NASM, try typing<p><pre>nasm -h</pre><p>As <code><nobr>-hf</nobr></code>, this will also list the availableoutput file formats, and what they are.<p>If you use Linux but aren't sure whether your system is<code><nobr>a.out</nobr></code> or <code><nobr>ELF</nobr></code>, type<p><pre>file nasm</pre><p>(in the directory in which you put the NASM binary when you installedit). If it says something like<p><pre>nasm: ELF 32-bit LSB executable i386 (386 and up) Version 1</pre><p>then your system is <code><nobr>ELF</nobr></code>, and you should usethe option <code><nobr>-f elf</nobr></code> when you want NASM to produceLinux object files. If it says<p><pre>nasm: Linux/i386 demand-paged executable (QMAGIC)</pre><p>or something similar, your system is <code><nobr>a.out</nobr></code>,and you should use <code><nobr>-f aout</nobr></code> instead (Linux<code><nobr>a.out</nobr></code> systems have long been obsolete, and arerare these days.)<p>Like Unix compilers and assemblers, NASM is silent unless it goes wrong:you won't see any output at all, unless it gives error messages.<h4><a name="section-2.1.1">2.1.1 The <code><nobr>-o</nobr></code> Option: Specifying the Output File Name</a></h4><p>NASM will normally choose the name of your output file for you;precisely how it does this is dependent on the object file format. ForMicrosoft object file formats (<code><nobr>obj</nobr></code> and<code><nobr>win32</nobr></code>), it will remove the<code><nobr>.asm</nobr></code> extension (or whatever extension you like touse - NASM doesn't care) from your source file name and substitute<code><nobr>.obj</nobr></code>. For Unix object file formats(<code><nobr>aout</nobr></code>, <code><nobr>coff</nobr></code>,<code><nobr>elf</nobr></code> and <code><nobr>as86</nobr></code>) it willsubstitute <code><nobr>.o</nobr></code>. For <code><nobr>rdf</nobr></code>,it will use <code><nobr>.rdf</nobr></code>, and for the<code><nobr>bin</nobr></code> format it will simply remove the extension,so that <code><nobr>myfile.asm</nobr></code> produces the output file<code><nobr>myfile</nobr></code>.<p>If the output file already exists, NASM will overwrite it, unless it hasthe same name as the input file, in which case it will give a warning anduse <code><nobr>nasm.out</nobr></code> as the output file name instead.<p>For situations in which this behaviour is unacceptable, NASM providesthe <code><nobr>-o</nobr></code> command-line option, which allows you tospecify your desired output file name. You invoke<code><nobr>-o</nobr></code> by following it with the name you wish for theoutput file, either with or without an intervening space. For example:<p><pre>nasm -f bin program.asm -o program.com nasm -f bin driver.asm -odriver.sys</pre><p>Note that this is a small o, and is different from a capital O , whichis used to specify the number of optimisation passes required. See<a href="#section-2.1.16">section 2.1.16</a>.<h4><a name="section-2.1.2">2.1.2 The <code><nobr>-f</nobr></code> Option: Specifying the Output File Format</a></h4><p>If you do not supply the <code><nobr>-f</nobr></code> option to NASM, itwill choose an output file format for you itself. In the distributionversions of NASM, the default is always <code><nobr>bin</nobr></code>; ifyou've compiled your own copy of NASM, you can redefine<code><nobr>OF_DEFAULT</nobr></code> at compile time and choose what youwant the default to be.<p>Like <code><nobr>-o</nobr></code>, the intervening space between<code><nobr>-f</nobr></code> and the output file format is optional; so<code><nobr>-f elf</nobr></code> and <code><nobr>-felf</nobr></code> areboth valid.<p>A complete list of the available output file formats can be given byissuing the command <code><nobr>nasm -hf</nobr></code>.<h4><a name="section-2.1.3">2.1.3 The <code><nobr>-l</nobr></code> Option: Generating a Listing File</a></h4><p>If you supply the <code><nobr>-l</nobr></code> option to NASM, followed(with the usual optional space) by a file name, NASM will generate asource-listing file for you, in which addresses and generated code arelisted on the left, and the actual source code, with expansions ofmulti-line macros (except those which specifically request no expansion insource listings: see <a href="nasmdoc4.html#section-4.3.9">section4.3.9</a>) on the right. For example:<p><pre>nasm -f elf myfile.asm -l myfile.lst</pre><p>If a list file is selected, you may turn off listing for a section ofyour source with <code><nobr>[list -]</nobr></code>, and turn it back onwith <code><nobr>[list +]</nobr></code>, (the default, obviously). There isno "user form" (without the brackets). This can be used to list onlysections of interest, avoiding excessively long listings.<h4><a name="section-2.1.4">2.1.4 The <code><nobr>-M</nobr></code> Option: Generate Makefile Dependencies.</a></h4><p>This option can be used to generate makefile dependencies on stdout.This can be redirected to a file for further processing. For example:<p><pre>NASM -M myfile.asm &gt; myfile.dep</pre><h4><a name="section-2.1.5">2.1.5 The <code><nobr>-F</nobr></code> Option: Selecting a Debug Information Format</a></h4><p>This option is used to select the format of the debug informationemitted into the output file, to be used by a debugger (or <em>will</em>be). Use of this switch does <em>not</em> enable output of the selecteddebug info format. Use <code><nobr>-g</nobr></code>, see<a href="#section-2.1.6">section 2.1.6</a>, to enable output.<p>A complete list of the available debug file formats for an output formatcan be seen by issuing the command<code><nobr>nasm -f &lt;format&gt; -y</nobr></code>. (only "borland" in "-fobj", as of 0.98.35, but "watch this space") See:<a href="#section-2.1.20">section 2.1.20</a>.<p>This should not be confused with the "-f dbg" output format option whichis not built into NASM by default. For information on how to enable it whenbuilding from the sources, see <a href="nasmdoc6.html#section-6.10">section6.10</a><h4><a name="section-2.1.6">2.1.6 The <code><nobr>-g</nobr></code> Option: Enabling Debug Information.</a></h4><p>This option can be used to generate debugging information in thespecified format. See: <a href="#section-2.1.5">section 2.1.5</a>. Using<code><nobr>-g</nobr></code> without <code><nobr>-F</nobr></code> resultsin emitting debug info in the default format, if any, for the selectedoutput format. If no debug information is currently implemented in theselected output format, <code><nobr>-g</nobr></code> is <em>silentlyignored</em>.<h4><a name="section-2.1.7">2.1.7 The <code><nobr>-X</nobr></code> Option: Selecting an Error Reporting Format</a></h4><p>This option can be used to select an error reporting format for anyerror messages that might be produced by NASM.<p>Currently, two error reporting formats may be selected. They are the<code><nobr>-Xvc</nobr></code> option and the<code><nobr>-Xgnu</nobr></code> option. The GNU format is the default andlooks like this:<p><pre>filename.asm:65: error: specific error message </pre><p>where <code><nobr>filename.asm</nobr></code> is the name of the sourcefile in which the error was detected, <code><nobr>65</nobr></code> is thesource file line number on which the error was detected,<code><nobr>error</nobr></code> is the severity of the error (this could be<code><nobr>warning</nobr></code>), and<code><nobr>specific error message</nobr></code> is a more detailed textmessage which should help pinpoint the exact problem.<p>The other format, specified by <code><nobr>-Xvc</nobr></code> is thestyle used by Microsoft Visual C++ and some other programs. It looks likethis:<p><pre>filename.asm(65) : error: specific error message</pre><p>where the only difference is that the line number is in parenthesesinstead of being delimited by colons.<p>See also the <code><nobr>Visual C++</nobr></code> output format,<a href="nasmdoc6.html#section-6.3">section 6.3</a>.<h4><a name="section-2.1.8">2.1.8 The <code><nobr>-E</nobr></code> Option: Send Errors to a File</a></h4><p>Under <code><nobr>MS-DOS</nobr></code> it can be difficult (though thereare ways) to redirect the standard-error output of a program to a file.Since NASM usually produces its warning and error messages on<code><nobr>stderr</nobr></code>, this can make it hard to capture theerrors if (for example) you want to load them into an editor.<p>NASM therefore provides the <code><nobr>-E</nobr></code> option, takinga filename argument which causes errors to be sent to the specified filesrather than standard error. Therefore you can redirect the errors into afile by typing<p><pre>nasm -E myfile.err -f obj myfile.asm</pre><h4><a name="section-2.1.9">2.1.9 The <code><nobr>-s</nobr></code> Option: Send Errors to <code><nobr>stdout</nobr></code></a></h4><p>The <code><nobr>-s</nobr></code> option redirects error messages to<code><nobr>stdout</nobr></code> rather than<code><nobr>stderr</nobr></code>, so it can be redirected under

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲国产一区在线观看网站| 国产清纯美女被跳蛋高潮一区二区久久w | 欧美成人a视频| 中文字幕中文乱码欧美一区二区| 欧美国产日韩亚洲一区| 美日韩一区二区| 欧美一区日韩一区| 日本亚洲欧美天堂免费| 欧美剧情片在线观看| 日韩在线卡一卡二| 日韩一级精品视频在线观看| 日韩国产高清在线| 2020日本不卡一区二区视频| 国产精品亚洲综合一区在线观看| 国产视频在线观看一区二区三区| 国产激情精品久久久第一区二区| 国产精品久久久久久久久动漫| 成人美女视频在线观看18| 国产精品国产自产拍在线| 99久久婷婷国产综合精品| 亚洲国产一区二区三区青草影视| 欧美精三区欧美精三区| 国产精品88888| 亚洲欧美日韩国产中文在线| 欧美日韩一区二区三区高清| 久久精品国产99国产| 成人欧美一区二区三区白人| 欧美老肥妇做.爰bbww| 成人免费毛片嘿嘿连载视频| 午夜欧美在线一二页| 日本一区二区三区在线观看| 欧美亚州韩日在线看免费版国语版| 蜜臀a∨国产成人精品| 亚洲免费资源在线播放| 久久免费视频一区| 日韩一区二区不卡| 色老头久久综合| 91在线观看视频| 国产69精品久久99不卡| 蜜臀av国产精品久久久久| 亚洲欧美日韩国产手机在线| 欧美国产成人精品| 久久免费美女视频| 精品免费99久久| 91精品欧美一区二区三区综合在 | 日韩欧美色综合网站| 欧美日韩一区二区在线观看| 91欧美一区二区| 99热99精品| 91视频免费看| 91社区在线播放| 欧美性色黄大片手机版| 日本精品一区二区三区四区的功能| 成人av在线资源网站| 国产aⅴ综合色| 欧美xxxxx裸体时装秀| 亚洲人成小说网站色在线| 亚洲最新视频在线观看| 在线精品观看国产| 久久久精品人体av艺术| 亚洲国产欧美日韩另类综合| 国产在线看一区| 欧美精选一区二区| 一级特黄大欧美久久久| 99久久精品国产观看| 亚洲精品在线免费播放| 日韩高清不卡一区| 欧美视频一二三区| 亚洲乱码日产精品bd| 成人一道本在线| 久久精品视频免费观看| 精品一区二区成人精品| 4hu四虎永久在线影院成人| 一区二区三区高清不卡| 91在线播放网址| 有码一区二区三区| 色偷偷久久人人79超碰人人澡| 国产精品福利一区二区三区| 国产东北露脸精品视频| 欧美国产日产图区| 最新成人av在线| 99re成人精品视频| 亚洲自拍偷拍欧美| 欧美亚日韩国产aⅴ精品中极品| 一区二区高清免费观看影视大全 | 欧美日韩和欧美的一区二区| 99久久99精品久久久久久| 国产乱码精品一区二区三 | 日本一区二区三区免费乱视频| 国产精品国产馆在线真实露脸| 亚洲美女少妇撒尿| 五月天一区二区三区| 成人午夜视频免费看| 7799精品视频| 视频在线观看91| aaa国产一区| 欧美精品一区二区不卡 | 精品一区二区三区影院在线午夜| 95精品视频在线| 欧美激情一区二区| 久久精品国内一区二区三区| 99re这里只有精品视频首页| 久久亚洲一区二区三区四区| 日韩av午夜在线观看| 欧美性一二三区| 亚洲精品免费视频| 在线观看国产一区二区| 久久精品人人做人人爽人人| 精品一区二区三区免费毛片爱 | 国产喂奶挤奶一区二区三区| 国产91丝袜在线18| 欧美日高清视频| 2023国产一二三区日本精品2022| 国产精品国产三级国产aⅴ原创 | 久久国产免费看| 91精品1区2区| 91麻豆免费观看| 欧美亚洲一区二区在线| 欧美三级中文字幕在线观看| 精品国产乱码久久久久久老虎| 亚洲国产精品一区二区尤物区| www.成人网.com| 国产欧美精品一区二区三区四区 | 国产精品污污网站在线观看| 国产在线播放一区| 精品88久久久久88久久久| 日本不卡高清视频| 欧美精品粉嫩高潮一区二区| 一片黄亚洲嫩模| 色狠狠综合天天综合综合| 国产精品欧美一区喷水| 国产精品夜夜嗨| 国产欧美日本一区视频| 丁香六月久久综合狠狠色| 国产日本亚洲高清| 国产精品88av| 国产精品久久久久久久浪潮网站| 国产·精品毛片| 亚洲欧洲精品一区二区精品久久久 | 国产成人在线视频网站| 久久久精品免费网站| 国产69精品久久99不卡| 国产精品久久一级| 91污片在线观看| 亚洲国产精品精华液网站| 欧美精品日韩精品| 麻豆精品一区二区| 久久久久久久久久电影| 波多野结衣精品在线| 综合精品久久久| 欧美三级视频在线播放| 婷婷激情综合网| 精品电影一区二区三区| 国产91精品免费| 亚洲一区二区三区在线看| 欧美精品18+| 国产一区二区三区在线观看免费视频 | 午夜婷婷国产麻豆精品| 日韩欧美在线123| 国产传媒久久文化传媒| 日韩伦理av电影| 9191精品国产综合久久久久久| 麻豆免费看一区二区三区| 国产视频一区在线观看| 在线视频综合导航| 久久国产精品99久久人人澡| 国产日韩亚洲欧美综合| 一本色道**综合亚洲精品蜜桃冫| 三级精品在线观看| 久久精品免视看| 精品视频一区二区不卡| 久久国产综合精品| 日韩美女视频19| 日韩精品专区在线| 色综合视频在线观看| 麻豆成人久久精品二区三区红 | 国产欧美一区二区精品性色| 色94色欧美sute亚洲13| 麻豆精品精品国产自在97香蕉| 国产精品美女久久久久高潮| 欧美日韩中文精品| 国产成人午夜视频| 亚洲成人激情av| 国产精品久久久久久久久果冻传媒| 在线不卡a资源高清| 粉嫩高潮美女一区二区三区| 午夜电影网一区| 国产精品久久久久久久久久久免费看| 欧美丰满少妇xxxbbb| 成人夜色视频网站在线观看| 全部av―极品视觉盛宴亚洲| 综合亚洲深深色噜噜狠狠网站| 日韩一区二区三区av| 日韩久久久久久| 欧美伊人精品成人久久综合97 | 亚洲人成精品久久久久| 日韩午夜小视频| 欧美色爱综合网| 99久久精品免费看国产| 韩日av一区二区|