title: x86 Linux assembler get program parameters from _start
body: <p>I'm trying to create a program to just write the param on the screen.
  I created some programs to get the C function parameter, or i used C to send the parameter to my asm program.
  Is there a way to get the program parameter using only assembler</p>
  
  <p>EX:</p>
  
  <pre><code>./Program "text"
  </code></pre>
  
  <p>I'm using as (Gnu Assembler)</p>
  
  <p>Usually i get those parameters using</p>
  
  <pre><code>[esp+4]
  </code></pre>
  
  <p>Because the esp is the program/function call pointer, but in pure asm it don't get the command line parameter.</p>
  
  <p>Is there a way to do that?</p>
  
  <p>I googled it, but i wans't able to find much information</p>