title: How to create and initialize an array on the stack in Assembly?
body: <p>I can do the following to create and initialize an array to be a global variable:</p>
  
  <pre><code>    section .data
  s DB 'h', 'e', 'l', 'l', 'o', 0
  </code></pre>
  
  <p>But I want to create and initialize an array on the stack (to be used in my function). I would guess this is how to reserve space for it:</p>
  
  <pre><code>sub esp, 6
  </code></pre>
  
  <p>but how can I initialize it?</p>