c - assembly language tricky memory addresses -
We are prompted (using AT & T ASM)
eax = Ebx = b fine = & amp; X adx = & amp; Y> I understand that (% eax) will retrieve data in the memory space in A, but what will happen (% edx)? For example, call
movl (% edx),% ebx besides
movl% eax, (% Ecx) In the first call, replace only the current value of% ebx with the & y (memory location of y) and replace the data in memory and location in the second call. Price A?
What about operation movl% edx,% eda? Does it just move the memory location of Wi to &
Thanks
From the perspective of 'C' language: < Pre> eax = A The ex receives a copy of the value of A.
ebx = B Receives a copy of the value of EBXB. ecx = & x ECX address (or memory space) becomes X.
edx = & amp; Y of y
Comments
Post a Comment