-->
当前位置:首页 > 题库

单选题:假定int型数组a的首址在 ECX中,i在EDX中, 则“&a[i]-a 送EAX"所对应的汇编指令是_____。

Luz5年前 (2021-05-10)题库1274

假定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