And the % ecx register explicitly loads the count.
ecx寄存器明确装入count。
The count value is put into % ecx as it is needed by rep prefix.
因为rep前缀需要count值,所以将它放入%ecx中。
Then at line C8, the instance pointer is dereferenced and stored in ecx.
然后,在c8行处,instance指针被解除引用并存储到ecx。
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是自由的,它可能决定将它们用作存储其它的数据。
But GCC won't know this unless we inform it, which is exactly what we do by including % eax and % ecx in the clobbered register set.
但GCC在我们通知它以前是不知道这些的,我们是通过将%eax和%ecx包括在修饰寄存器集中来通知GCC的。
In the following example, the cpuid instruction takes the input in the % eax register and gives output in four registers: % eax, % ebx, % ecx, % edx.
在下面的示例中,cpuid指令采用%eax寄存器中的输入,然后在四个寄存器中给出输出:% eax、%ebx、%ecx、%edx。
In the following example, the cpuid instruction takes the input in the % eax register and gives output in four registers: % eax, % ebx, % ecx, % edx.
在下面的示例中,cpuid指令采用%eax寄存器中的输入,然后在四个寄存器中给出输出:% eax、%ebx、%ecx、%edx。
应用推荐