单选题:假定int型数组a的首址在 ECX中,i在EDX中, 则“&a[i]-a 送EAX"所对应的汇编指令是_____。
假定int型数组a的首址在 ECX中,i在EDX中, 则“&a[i]-a 送EAX"所对应的汇编指令是_____。
@[B](2)
A. movl %ecx, %eax
B. movl %edx, %eax
C. leal ( ,%ecx, 4), %eax
D. leal ( ,%edx, 4), %eax
A.movl %ecx, %eax
B.movl %edx, %eax
C.leal ( ,%ecx, 4), %eax
D.leal ( ,%edx, 4), %eax
答案:B