title: How to get and save a calculated address in x86_64 assembly?
body: <p>I have a little experience in assembler.
  Suppose I have code like this, for example:</p>
  
  <pre><code>destAddr:
  DD 00
  MOV [r12+rcx*8+20],r10 
  </code></pre>
  
  <p>What I need to do is get the value of (r12+rcx*8+20) stored in a variable in the memory(destAddr).</p>
  
  <pre><code>// r12+rcx*8+20 = 0x707B8C030 --&gt; example
  MOV destAddr, r12+rcx*8+20 ---&gt; how to do it?
  </code></pre>
  
  <p>At the end I need to have 0x707B8C030 as a value in destAddr.
  Thank You in advance.</p>