Home > other >  A fundamental question about assembly language
A fundamental question about assembly language

Time:09-21

Assume that a global array declared as a double * [8], a first address 0 x80498c0 in ECX, I now would like to a [I] take to the corresponding width EAX register, are used in the assembly instruction is (a),
A.
Mov 0 x80498c0 (, 4) % ecx, % eax


B.
Mov (0 x80498c0, % ecx, 8), % eax


C.
Mov (0 x80498c0, % ecx, 4), % eax


D.
Mov 0 x80498c0 (8), % ecx, % eax

My doubt is: the right answer A options, I in the ecx (% ecx, 4) what is this meaning ah, take the contents as address () is not addressing it, will I value multiplied again addressing meaningless, 4
I feel B with B is chosen, I explained the thinking of the above make sense,

CodePudding user response:

Brother is not double double * oh attention
  • Related