title: microprogram assembler (jasmin)
body: <p>what does this command do in assambly ?</p>
  
  <pre><code>mov ebx, [eax+ecx*4+12] 
  </code></pre>
  
  <p>does it do the same of the following ?</p>
  
  <pre><code>MOV EBX,ECX
  ADD EBX,EBX ; *2
  ADD EBX,EBX ; *4
  ADD EBX,EAX
  ADD EBX,12
  MOV EBX,[EBX]
  </code></pre>
  
  <p>if yes why do they don't give the same result in <strong><em>Jasmin</em></strong> when <code>eax = 100h</code>, <code>ebx = 0</code>, <code>ecx = 100h</code></p>
  
  <p>end.</p>