EAX

EAX

 英

  • 網絡寄存器;環境音效;寄存器中

例句

All stubs from ntdll. dll start with the line MOV EAX, ServiceIndex, which applies to any version and flavour of Windows NT.

所有來自ntdll.dll代理一行代碼MOVEAX,ServiceIndex開始-可以適用于任何版本風味WindowsNT

After a few simple tests, the actual system call is invoked using the system_call_table and index contained in eax.

經過幾個簡單測試之后使用system_call_tableeax包含索引執行真正系統調用

The code at BE allocates the memory from the heap for the Singleton object and stores a pointer to that memory in eax.

BE代碼Singleton對象分配內存一個指向內存指針存儲eax

This table, shown in Figure 2, uses the index provided in eax to identify which system call to invoke from the table (sys_call_table).

這個2使用eax提供索引確定調用哪個系統調用(sys_call_table)。

The next line, C3, takes the pointer in eax and stores it back into the instance reference at memory location 049388C8.

一行代碼,C3,獲取eax指針存儲內存位置049388C8實例引用

The input to cpuid (the variable "op" ) is passed to "asm" in the eax register, as cpuid expects it to.

cpuid輸入變量op”)傳遞asmeax寄存因為cpuid希望這樣

Larger structures are returned in the EAX register as pointers to hidden return structures.

如果體積結構返回的話那么EAX存放一個指向結構所在地址指針

A value of 1 (for the Linux exit system call) is stored in EAX to request that the program exit.

EAX存儲1(代表Linuxexit系統調用),請求程序退出

Thus %eax serves here as both input and output register.

這樣這里%eax可以用作輸入寄存可以用作輸出寄存器

And since %eax is specified in the clobbered list, GCC doesn't use it anywhere else to store data.

因為%eax修飾列表指定GCC不在任何其它地方使用存儲數據

The service code is present in the EAX register.

服務編碼EAX寄存

Unless this is done, GCC assumes that %eax and %ecx are free, and it may decide to use them for storing other data.

完成之前GCC假設%eax%ecx自由可能決定它們用作存儲其它數據

The first two lines of assembly code at B0 and B5 load the instance reference from memory location 049388C8 into eax and test for null.

B0B5匯編代碼instance引用內存位置049388C8加載eax進行null檢查

The CPU chooses the AL, AX, or EAX register depending on the width of the operand (8, 16, or 32 bits).

CPU根據操作寬度(8、1632)選擇ALAXEAX寄存器

While lodsl modifies %eax, the lodsl and stosl instructions use it implicitly.

lodsl修改%eaxlodslstosl指令隱含地使用

And here you can see another constraint that uses the two registers %eax and %edx to combine two 32-bit values and generate a 64-bit value

下面可以看到另一個約束使用寄存%eax%edx32合并一起然后生成一個64