title: How to read and write a double array created on C++ from Inline Assembler?
body: <p>I want to manipulate a array created on C++ from inline aasembler, when I try using a one-dimensional array it works O.K, but when I use a multi-dimensional array I always get a Zero.</p>
  
  <p>I'm using Visual Studio 2019.</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main()
  {
      double matrix[2][2] = { {10, 20},{30, 40} };//I always get a Zero
      //double matrix[2] = { 50, 60 };//It works
  
      double temp = 987;
  
      _asm {
          mov esi, 0
  
          finit
          ; fld[matrix]
          fld matrix[esi]
          fstp temp
          fwait
      }
  
      cout &lt;&lt; "temp: " &lt;&lt; temp &lt;&lt; endl;
      return 0;
  }
  </code></pre>
  
  <p>What should I do to get the 30?</p>
  
  <p>Thank you very much in advance!!</p>