title: Tracing a simple program in assembly
body: <p>I have created a simple c program to add two numbers :</p>
  
  <pre><code>void main(){
       int a = 4;
       int b = 5;
       int c = a+b;
  }
  </code></pre>
  
  <p>and named it test.c
  I used "arm-linux-gcc -S test.c" to create test.s (Assembly code)
  Now I want to see the value of each of 16 registers after each assembly instruction.
  What should I do?
  I dont have any experience in assembly and I am relatively new to linux so I
  am not much aware of the tools used.
  Please help!
  Thanks in advance. </p>