Guest User

Untitled

a guest
Oct 1st, 2011
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. void loop_test1(void) {
  3. int i;
  4. volatile char data[10];
  5.  
  6. for(i = 0; i < 1; i++)
  7. {
  8. data[i] = 0;
  9. }
  10. }
  11.  
  12.  
  13. void loop_test2(void) {
  14. int i;
  15. volatile char data[10];
  16.  
  17. i=0;
  18. {
  19. data[i] = 0;
  20. }
  21. }
  22.  
  23.  
  24. ====================================
  25.  
  26. 00000164 <loop_test1>:
  27. 164: e24dd010 sub sp, sp, #16
  28. 168: e3a03000 mov r3, #0
  29. 16c: e5cd3004 strb r3, [sp, #4]
  30. 170: e28dd010 add sp, sp, #16
  31. 174: e12fff1e bx lr
  32.  
  33. 00000178 <loop_test2>:
  34. 178: e24dd010 sub sp, sp, #16
  35. 17c: e3a03000 mov r3, #0
  36. 180: e5cd3004 strb r3, [sp, #4]
  37. 184: e28dd010 add sp, sp, #16
  38. 188: e12fff1e bx lr
  39.  
  40.  
RAW Paste Data