nasm

nasm

 英

  • 網絡匯編器;醫學學會;美國國家運動醫學會(National Academy of Sports Medicine)

例句

The -a option, requiring no argument, instructs NASM to replace its powerful preprocessor with a stub preprocessor which does nothing.

a選項要求任何參數通知NASM強大預處理進行任何處理

As with NASM, GAS looks for this _start label as the default entry point of a program.

NASM一樣GAS尋找這個_start標簽作為程序默認進入

NASM uses the byte operator to tell the assembler that a byte of data is to be moved.

NASM使用字節操作符告訴匯編器移動一個字節數據

So one thing NASM can't handle is code whose size depends on the value of a symbol declared after the code in question.

那么一件NASM無法處理大小取決于標志價值宣稱代碼以后考慮代碼

NASM defines a set of standard macros , which are already defined when it starts to process any source file.

NASM開始處理任何文件已經定義一系列標準

If you believe the output file from NASM to be faulty, send it to us.

如果認為NASM得到輸出文件錯誤送給我們

The heading for this section promises a discussion of macros, and both NASM and GAS certainly support them.

節要討論以及NASMGAS它們支持

Dw symbol, seg symbol NASM supports no convenient synonym for this , though you can always invent one using the macro processor .

NASM支持其它方式做到一點盡管可以處理器創造一個

The arithmetic operators provided by NASM are listed here, in increasing order of precedence.

NASM代數操作符下面優先權增加順序排列

NASM may also support . EXE natively as another output format in future releases.

NASM未來版本可能.EXE作為另一種支持輸出格式對待

NASM uses square brackets to dereference the value at the address pointed to by a memory location: [var1].

NASM使用括號間接引用一個內存位置指向地址:[var1]。

Netwide Assembler (NASM) support (an assembly language compiler) is also required for EffecTV to process its included effects correctly.

為了EffecTV正確地處理包含效果需要NetwideAssemblerNASM支持一種匯編語言編譯)。

This little program describes the basic structure of an assembly program for both GAS and NASM.

這個程序展示NASMGAS匯編程序基本結構

A label always ends with a colon in both GAS and NASM.

GASNASM標簽冒號結尾

NASM will reject this example because it cannot tell the size of the TIMES line when it first sees it.

NASM拒絕這個例子因為無法告訴時期大小首先

And for those already familiar with both NASM and GAS, you might still find something useful here, such as macros.

那些已經熟悉NASMGAS讀者可以這里找到有用內容比如

Both GAS and NASM use the same mnemonic for interrupts.

GASNASM中斷使用同樣助記

Functions are declared the same way in both NASM and GAS.

NASMGAS聲明函數方法相同

GAS uses the 0x prefix to specify a hex number, whereas NASM uses the h suffix.

GAS使用0x前綴指定十六進制數字NASM使用h后綴

In NASM, a similar construct is used at the preprocessor level.

NASM預處理使用似的結構

There is also an alternative in NASM, the times directive.

NASM一種結構times指令

int $0x80 (or 80h in NASM) is used to invoke Linux and request a service.

int$0x80(NASM80h)用來Linux請求一個服務

NASM allows you to specify files to be pre-included into your source file, by the use of the -p option. So running

通過使用-p選項NASM允許指明包含文件文件因此運行如下命令

NASM also allows you to define single-line macros which are local to a particular context, in just the same way

NASM允許定義單行可以一個特殊上下文定位方式同樣

Basic syntactical differences between NASM and GAS

NASMGAS之間基本語法差異

Assembler directives peculiar to either NASM or GAS

NASMGAS特有匯編指令

For example, to calculate the length of a string, you would use the following idiom in NASM

例如為了計算一個字符串長度NASM使用以下指令