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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -