title: Compiling ARM .s file on Mac
body: <p>I am on Mac Os X and I am having trouble compiling a .s ARM assembly file.
  my .s file is this:</p>
  
  <pre><code>mov r0, r1
  </code></pre>
  
  <p>just to see if it works.
  but when i do 
  <code>arm-elf-as my.s</code>
  i get an 
  <code>a.out</code> file.
  i do 
  <code>chmod +x a.out</code>
  and 
  <code>./a.out</code>
  but it says 
  <code>cannot execute binary file</code></p>
  
  <p>this has me confused, because it should be able to execute if i compiled it with arm-elf-as. How do i go about compiling this .s?</p>