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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? nasmdoc6.htm

?? nasm手冊 大家可以看看 對要寫匯編程序的幫助很大
?? HTM
?? 第 1 頁 / 共 4 頁
字號:
<p>In addition to these extensions, the <code><nobr>COMMON</nobr></code>directive in <code><nobr>obj</nobr></code> also supportsdefault-<code><nobr>WRT</nobr></code> specification like<code><nobr>EXTERN</nobr></code> does (explained in<a href="#section-6.2.7">section 6.2.7</a>). So you can also declare thingslike<p><pre>common  foo     10:wrt dgroup common  bar     16:far 2:wrt data common  baz     24:wrt data:6</pre><h3><a name="section-6.3">6.3 <code><nobr>win32</nobr></code>: Microsoft Win32 Object Files</a></h3><p>The <code><nobr>win32</nobr></code> output format generates MicrosoftWin32 object files, suitable for passing to Microsoft linkers such asVisual C++. Note that Borland Win32 compilers do not use this format, butuse <code><nobr>obj</nobr></code> instead (see<a href="#section-6.2">section 6.2</a>).<p><code><nobr>win32</nobr></code> provides a default output file-nameextension of <code><nobr>.obj</nobr></code>.<p>Note that although Microsoft say that Win32 object files follow the<code><nobr>COFF</nobr></code> (Common Object File Format) standard, theobject files produced by Microsoft Win32 compilers are not compatible withCOFF linkers such as DJGPP's, and vice versa. This is due to a differenceof opinion over the precise semantics of PC-relative relocations. Toproduce COFF files suitable for DJGPP, use NASM's<code><nobr>coff</nobr></code> output format; conversely, the<code><nobr>coff</nobr></code> format does not produce object files thatWin32 linkers can generate correct output from.<h4><a name="section-6.3.1">6.3.1 <code><nobr>win32</nobr></code> Extensions to the <code><nobr>SECTION</nobr></code> Directive</a></h4><p>Like the <code><nobr>obj</nobr></code> format,<code><nobr>win32</nobr></code> allows you to specify additionalinformation on the <code><nobr>SECTION</nobr></code> directive line, tocontrol the type and properties of sections you declare. Section types andproperties are generated automatically by NASM for the standard sectionnames <code><nobr>.text</nobr></code>, <code><nobr>.data</nobr></code> and<code><nobr>.bss</nobr></code>, but may still be overridden by thesequalifiers.<p>The available qualifiers are:<ul><li><code><nobr>code</nobr></code>, or equivalently<code><nobr>text</nobr></code>, defines the section to be a code section.This marks the section as readable and executable, but not writable, andalso indicates to the linker that the type of the section is code.<li><code><nobr>data</nobr></code> and <code><nobr>bss</nobr></code> definethe section to be a data section, analogously to<code><nobr>code</nobr></code>. Data sections are marked as readable andwritable, but not executable. <code><nobr>data</nobr></code> declares aninitialised data section, whereas <code><nobr>bss</nobr></code> declares anuninitialised data section.<li><code><nobr>rdata</nobr></code> declares an initialised data sectionthat is readable but not writable. Microsoft compilers use this section toplace constants in it.<li><code><nobr>info</nobr></code> defines the section to be aninformational section, which is not included in the executable file by thelinker, but may (for example) pass information <em>to</em> the linker. Forexample, declaring an <code><nobr>info</nobr></code>-type section called<code><nobr>.drectve</nobr></code> causes the linker to interpret thecontents of the section as command-line options.<li><code><nobr>align=</nobr></code>, used with a trailing number as in<code><nobr>obj</nobr></code>, gives the alignment requirements of thesection. The maximum you may specify is 64: the Win32 object file formatcontains no means to request a greater section alignment than this. Ifalignment is not explicitly specified, the defaults are 16-byte alignmentfor code sections, 8-byte alignment for rdata sections and 4-byte alignmentfor data (and BSS) sections. Informational sections get a default alignmentof 1 byte (no alignment), though the value does not matter.</ul><p>The defaults assumed by NASM if you do not specify the above qualifiersare:<p><pre>section .text    code  align=16 section .data    data  align=4 section .rdata   rdata align=8 section .bss     bss   align=4</pre><p>Any other section name is treated by default like<code><nobr>.text</nobr></code>.<h3><a name="section-6.4">6.4 <code><nobr>coff</nobr></code>: Common Object File Format</a></h3><p>The <code><nobr>coff</nobr></code> output type produces<code><nobr>COFF</nobr></code> object files suitable for linking with theDJGPP linker.<p><code><nobr>coff</nobr></code> provides a default output file-nameextension of <code><nobr>.o</nobr></code>.<p>The <code><nobr>coff</nobr></code> format supports the same extensionsto the <code><nobr>SECTION</nobr></code> directive as<code><nobr>win32</nobr></code> does, except that the<code><nobr>align</nobr></code> qualifier and the<code><nobr>info</nobr></code> section type are not supported.<h3><a name="section-6.5">6.5 <code><nobr>elf</nobr></code>: Executable and Linkable Format Object Files</a></h3><p>The <code><nobr>elf</nobr></code> output format generates<code><nobr>ELF32</nobr></code> (Executable and Linkable Format) objectfiles, as used by Linux as well as Unix System V, including Solaris x86,UnixWare and SCO Unix. <code><nobr>elf</nobr></code> provides a defaultoutput file-name extension of <code><nobr>.o</nobr></code>.<h4><a name="section-6.5.1">6.5.1 <code><nobr>elf</nobr></code> Extensions to the <code><nobr>SECTION</nobr></code> Directive</a></h4><p>Like the <code><nobr>obj</nobr></code> format,<code><nobr>elf</nobr></code> allows you to specify additional informationon the <code><nobr>SECTION</nobr></code> directive line, to control thetype and properties of sections you declare. Section types and propertiesare generated automatically by NASM for the standard section names<code><nobr>.text</nobr></code>, <code><nobr>.data</nobr></code> and<code><nobr>.bss</nobr></code>, but may still be overridden by thesequalifiers.<p>The available qualifiers are:<ul><li><code><nobr>alloc</nobr></code> defines the section to be one which isloaded into memory when the program is run.<code><nobr>noalloc</nobr></code> defines it to be one which is not, suchas an informational or comment section.<li><code><nobr>exec</nobr></code> defines the section to be one whichshould have execute permission when the program is run.<code><nobr>noexec</nobr></code> defines it as one which should not.<li><code><nobr>write</nobr></code> defines the section to be one whichshould be writable when the program is run.<code><nobr>nowrite</nobr></code> defines it as one which should not.<li><code><nobr>progbits</nobr></code> defines the section to be one withexplicit contents stored in the object file: an ordinary code or datasection, for example, <code><nobr>nobits</nobr></code> defines the sectionto be one with no explicit contents given, such as a BSS section.<li><code><nobr>align=</nobr></code>, used with a trailing number as in<code><nobr>obj</nobr></code>, gives the alignment requirements of thesection.</ul><p>The defaults assumed by NASM if you do not specify the above qualifiersare:<p><pre>section .text    progbits  alloc  exec    nowrite  align=16 section .rodata  progbits  alloc  noexec  nowrite  align=4 section .data    progbits  alloc  noexec  write    align=4 section .bss     nobits    alloc  noexec  write    align=4 section other    progbits  alloc  noexec  nowrite  align=1</pre><p>(Any section name other than <code><nobr>.text</nobr></code>,<code><nobr>.rodata</nobr></code>, <code><nobr>.data</nobr></code> and<code><nobr>.bss</nobr></code> is treated by default like<code><nobr>other</nobr></code> in the above code.)<h4><a name="section-6.5.2">6.5.2 Position-Independent Code: <code><nobr>elf</nobr></code> Special Symbols and <code><nobr>WRT</nobr></code></a></h4><p>The <code><nobr>ELF</nobr></code> specification contains enough featuresto allow position-independent code (PIC) to be written, which makes ELFshared libraries very flexible. However, it also means NASM has to be ableto generate a variety of strange relocation types in ELF object files, ifit is to be an assembler which can write PIC.<p>Since <code><nobr>ELF</nobr></code> does not support segment-basereferences, the <code><nobr>WRT</nobr></code> operator is not used for itsnormal purpose; therefore NASM's <code><nobr>elf</nobr></code> outputformat makes use of <code><nobr>WRT</nobr></code> for a different purpose,namely the PIC-specific relocation types.<p><code><nobr>elf</nobr></code> defines five special symbols which you canuse as the right-hand side of the <code><nobr>WRT</nobr></code> operator toobtain PIC relocation types. They are <code><nobr>..gotpc</nobr></code>,<code><nobr>..gotoff</nobr></code>, <code><nobr>..got</nobr></code>,<code><nobr>..plt</nobr></code> and <code><nobr>..sym</nobr></code>. Theirfunctions are summarised here:<ul><li>Referring to the symbol marking the global offset table base using<code><nobr>wrt ..gotpc</nobr></code> will end up giving the distance fromthe beginning of the current section to the global offset table.(<code><nobr>_GLOBAL_OFFSET_TABLE_</nobr></code> is the standard symbolname used to refer to the GOT.) So you would then need to add<code><nobr>$$</nobr></code> to the result to get the real address of theGOT.<li>Referring to a location in one of your own sections using<code><nobr>wrt ..gotoff</nobr></code> will give the distance from thebeginning of the GOT to the specified location, so that adding on theaddress of the GOT would give the real address of the location you wanted.<li>Referring to an external or global symbol using<code><nobr>wrt ..got</nobr></code> causes the linker to build an entry<em>in</em> the GOT containing the address of the symbol, and the referencegives the distance from the beginning of the GOT to the entry; so you canadd on the address of the GOT, load from the resulting address, and end upwith the address of the symbol.<li>Referring to a procedure name using <code><nobr>wrt ..plt</nobr></code>causes the linker to build a procedure linkage table entry for the symbol,and the reference gives the address of the PLT entry. You can only use thisin contexts which would generate a PC-relative relocation normally (i.e. asthe destination for <code><nobr>CALL</nobr></code> or<code><nobr>JMP</nobr></code>), since ELF contains no relocation type torefer to PLT entries absolutely.<li>Referring to a symbol name using <code><nobr>wrt ..sym</nobr></code>causes NASM to write an ordinary relocation, but instead of making therelocation relative to the start of the section and then adding on theoffset to the symbol, it will write a relocation record aimed directly atthe symbol in question. The distinction is a necessary one due to apeculiarity of the dynamic linker.</ul><p>A fuller explanation of how to use these relocation types to writeshared libraries entirely in NASM is given in<a href="nasmdoc8.html#section-8.2">section 8.2</a>.<h4><a name="section-6.5.3">6.5.3 <code><nobr>elf</nobr></code> Extensions to the <code><nobr>GLOBAL</nobr></code> Directive</a></h4><p><code><nobr>ELF</nobr></code> object files can contain more informationabout a global symbol than just its address: they can contain the size ofthe symbol and its type as well. These are not merely debuggerconveniences, but are actually necessary when the program being written isa shared library. NASM therefore supports some extensions to the<code><nobr>GLOBAL</nobr></code> directive, allowing you to specify thesefeatures.<p>You can specify whether a global variable is a function or a data objectby suffixing the name with a colon and the word<code><nobr>function</nobr></code> or <code><nobr>data</nobr></code>.(<code><nobr>object</nobr></code> is a synonym for<code><nobr>data</nobr></code>.) For example:<p><pre>global   hashlookup:function, hashtable:data</pre><p>exports the global symbol <code><nobr>hashlookup</nobr></code> as afunction and <code><nobr>hashtable</nobr></code> as a data object.<p>You can also specify the size of the data associated with the symbol, asa numeric expression (which may involve labels, and even forwardreferences) after the type specifier. Like this:<p><pre>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品日韩精品| 国产一区二区三区四| 日韩影院免费视频| 国产电影精品久久禁18| 91电影在线观看| 2023国产精品视频| 日韩在线a电影| 色婷婷av一区二区三区软件| 欧美大片在线观看| 首页国产丝袜综合| 欧美亚洲综合在线| 亚洲欧洲美洲综合色网| 国产一区二区在线观看视频| 欧美日韩一区二区在线视频| 国产精品成人一区二区艾草| 国产伦精品一区二区三区视频青涩| 欧美在线一二三四区| 欧美极品aⅴ影院| 国产伦精品一区二区三区视频青涩 | 欧美xxxxxxxxx| 亚洲成人一区在线| 色香蕉久久蜜桃| 亚洲欧美色综合| 成人av中文字幕| 中文一区一区三区高中清不卡| 久久不见久久见免费视频7| 欧美日韩国产123区| 亚洲激情综合网| 91麻豆高清视频| 亚洲黄色小说网站| 91麻豆自制传媒国产之光| 欧美国产1区2区| 国产精品白丝jk白祙喷水网站| 日韩欧美国产综合一区| 蜜臀av一级做a爰片久久| 欧美乱熟臀69xxxxxx| 亚洲成人一区在线| 欧美一级高清大全免费观看| 日本在线观看不卡视频| 欧美一区二区三区精品| 国产成人免费xxxxxxxx| 国产欧美一区二区三区鸳鸯浴| 国产精品一区二区在线观看不卡| 久久久久久久久久久99999| 国产成人亚洲综合a∨婷婷| 国产午夜亚洲精品羞羞网站| 成人丝袜高跟foot| 亚洲美女免费在线| 欧美性大战久久| 蜜桃传媒麻豆第一区在线观看| 这里只有精品免费| 国产精品99久久久久久有的能看| 久久精品视频在线看| 99久久免费精品| 亚洲永久精品大片| 精品美女在线播放| 99国产精品99久久久久久| 又紧又大又爽精品一区二区| 在线观看视频欧美| 紧缚奴在线一区二区三区| 国产午夜亚洲精品理论片色戒| 不卡高清视频专区| 亚洲一区欧美一区| 2023国产精品| 91成人看片片| 国产一区二区精品久久99| 亚洲蜜臀av乱码久久精品| 欧美一级专区免费大片| 成人sese在线| 日韩电影免费在线| 欧美激情在线一区二区三区| 欧美中文字幕一区二区三区亚洲| 久久福利视频一区二区| 欧美国产欧美综合| 91精品国产欧美一区二区18| 国产成人av资源| 日韩av一级电影| 一区二区三区日韩在线观看| 日韩精品一区二区在线观看| 色婷婷av一区| 国产美女精品人人做人人爽| 天天色图综合网| 中文字幕一区二区三| 欧美电影免费观看高清完整版| 色婷婷av久久久久久久| 国产成人免费在线视频| 日韩影院在线观看| 一区二区三区四区不卡在线 | 中文字幕 久热精品 视频在线| 欧美日产在线观看| 色综合天天综合色综合av| 精品一区二区三区的国产在线播放| 亚洲日本一区二区三区| 26uuu另类欧美| 欧美一区二区三区免费大片| 欧美亚洲综合网| av一区二区三区黑人| 国产精品白丝jk白祙喷水网站 | 国产黑丝在线一区二区三区| 日日夜夜免费精品| 亚洲综合丝袜美腿| 日韩毛片一二三区| 国产精品国产三级国产普通话三级| 日韩你懂的在线播放| 欧美日韩dvd在线观看| 欧美制服丝袜第一页| 久久综合给合久久狠狠狠97色69| 欧美久久久久久蜜桃| 欧美午夜片在线观看| 色婷婷一区二区三区四区| 99re在线视频这里只有精品| 国产69精品久久99不卡| 国产精品中文字幕一区二区三区| 精品综合久久久久久8888| 日本欧美一区二区三区乱码| 亚洲二区视频在线| 午夜伦理一区二区| 亚洲成av人片在www色猫咪| 亚洲成人www| 性做久久久久久免费观看 | 亚洲色图清纯唯美| 中文字幕亚洲欧美在线不卡| 中文字幕av资源一区| 中文成人av在线| 国产精品网站在线| 亚洲人成在线观看一区二区| 亚洲天堂精品视频| 亚洲伊人伊色伊影伊综合网| 一区二区三区蜜桃网| 亚洲午夜精品网| 奇米四色…亚洲| 国产高清不卡一区| 成人91在线观看| 欧美综合色免费| 欧美一区三区二区| 久久精品一区二区三区不卡| 欧美极品少妇xxxxⅹ高跟鞋 | 爽好久久久欧美精品| 老司机一区二区| 成人黄色电影在线| 91久久精品网| 日韩三级在线观看| 国产精品毛片a∨一区二区三区| 国产精品久久久爽爽爽麻豆色哟哟| 亚洲欧美激情在线| 青青草精品视频| 国产成人鲁色资源国产91色综| av一二三不卡影片| 日韩一区二区在线观看视频| 精品va天堂亚洲国产| 中文字幕在线不卡一区| 丝袜a∨在线一区二区三区不卡| 精品一区二区在线观看| 99久久精品国产一区| 欧美成人福利视频| 亚洲黄色小视频| 国产在线不卡一区| 在线观看视频一区二区欧美日韩 | 91精选在线观看| 中文字幕免费观看一区| 亚洲一区av在线| 国产91精品露脸国语对白| 欧美日韩久久久| 亚洲欧洲99久久| 精品一区二区三区欧美| 欧美亚一区二区| 国产亲近乱来精品视频| 亚洲成av人片一区二区梦乃| 成人av免费网站| 久久婷婷国产综合国色天香 | 日本道色综合久久| 欧美国产精品中文字幕| 日av在线不卡| 欧美中文一区二区三区| 国产精品不卡在线| 国产成人精品综合在线观看 | 久久99精品国产.久久久久久| 色婷婷精品大视频在线蜜桃视频| 久久蜜桃一区二区| 图片区小说区区亚洲影院| 99热这里都是精品| 国产欧美日本一区二区三区| 91原创在线视频| 26uuuu精品一区二区| 日韩**一区毛片| 欧美日韩国产一级片| 亚洲精品成人少妇| 播五月开心婷婷综合| 欧美国产精品专区| 国产91精品一区二区麻豆网站| xnxx国产精品| 久久9热精品视频| 精品日韩99亚洲| 久久电影网电视剧免费观看| 欧美放荡的少妇| 视频一区欧美精品| 91麻豆精品国产91久久久更新时间 | 亚洲18女电影在线观看| 欧美日韩色综合| 亚洲国产精品久久不卡毛片|