title: changing global variables in NASM assembly
body: <p>I've defined these global variables but I cant seem to change their value in the code. I need other C modules to have access to these variables.</p>
  
  <pre><code>global base 
  global freep 
  
  SECTION .data  
    base:   dd   0           
    freep:     dd    0 
  </code></pre>
  
  <p>The code below gives this error: </p>
  
  <p>:173: error: invalid combination of opcode and operands</p>
  
  <p>So my question is how to a mov values into global variables?</p>
  
  <pre><code>  mov freep, esi
  </code></pre>