Guest User

Full Compiler ASM Dump - C Version

a guest
Jan 22nd, 2013
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. .file "led.c"
  2. __SP_H__ = 0x3e
  3. __SP_L__ = 0x3d
  4. __SREG__ = 0x3f
  5. __tmp_reg__ = 0
  6. __zero_reg__ = 1
  7. ; GNU C (GCC) version 4.7.0 (avr)
  8. ; compiled by GNU C version 4.7.0, GMP version 5.0.2, MPFR version 3.1.0-p3, MPC version 0.9
  9. ; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
  10. ; options passed: -fpreprocessed led.i -mmcu=atmega168 -Os -fverbose-asm
  11. ; options enabled: -fauto-inc-dec -fbranch-count-reg -fcaller-saves
  12. ; -fcombine-stack-adjustments -fcommon -fcompare-elim -fcprop-registers
  13. ; -fcrossjumping -fcse-follow-jumps -fdebug-types-section -fdefer-pop
  14. ; -fdevirtualize -fearly-inlining -feliminate-unused-debug-types
  15. ; -fexpensive-optimizations -fforward-propagate -ffunction-cse -fgcse
  16. ; -fgcse-lm -fgnu-runtime -fguess-branch-probability -fident
  17. ; -fif-conversion -fif-conversion2 -findirect-inlining -finline
  18. ; -finline-atomics -finline-functions -finline-functions-called-once
  19. ; -finline-small-functions -fipa-cp -fipa-profile -fipa-pure-const
  20. ; -fipa-reference -fipa-sra -fira-share-save-slots
  21. ; -fira-share-spill-slots -fivopts -fkeep-static-consts
  22. ; -fleading-underscore -fmath-errno -fmerge-constants
  23. ; -fmerge-debug-strings -fmove-loop-invariants -fomit-frame-pointer
  24. ; -foptimize-register-move -foptimize-sibling-calls -fpartial-inlining
  25. ; -fpeephole -fpeephole2 -fprefetch-loop-arrays -freg-struct-return
  26. ; -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop
  27. ; -fsched-critical-path-heuristic -fsched-dep-count-heuristic
  28. ; -fsched-group-heuristic -fsched-interblock -fsched-last-insn-heuristic
  29. ; -fsched-rank-heuristic -fsched-spec -fsched-spec-insn-heuristic
  30. ; -fsched-stalled-insns-dep -fshow-column -fshrink-wrap -fsigned-zeros
  31. ; -fsplit-ivs-in-unroller -fsplit-wide-types -fstrict-aliasing
  32. ; -fstrict-overflow -fstrict-volatile-bitfields -fthread-jumps
  33. ; -ftoplevel-reorder -ftrapping-math -ftree-bit-ccp
  34. ; -ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copy-prop
  35. ; -ftree-copyrename -ftree-dce -ftree-dominator-opts -ftree-dse
  36. ; -ftree-forwprop -ftree-fre -ftree-loop-if-convert -ftree-loop-im
  37. ; -ftree-loop-ivcanon -ftree-loop-optimize -ftree-parallelize-loops=
  38. ; -ftree-phiprop -ftree-pre -ftree-pta -ftree-reassoc -ftree-scev-cprop
  39. ; -ftree-sink -ftree-slp-vectorize -ftree-sra -ftree-switch-conversion
  40. ; -ftree-tail-merge -ftree-ter -ftree-vect-loop-version -ftree-vrp
  41. ; -funit-at-a-time -fverbose-asm -fzero-initialized-in-bss
  42.  
  43. .section .text.startup,"ax",@progbits
  44. .global main
  45. .type main, @function
  46. main:
  47. /* prologue: function */
  48. /* frame size = 0 */
  49. /* stack size = 0 */
  50. .L__stack_usage = 0
  51. ldi r24,lo8(-1) ; tmp44,
  52. out 0x4,r24 ; MEM[(volatile uint8_t *)36B], tmp44
  53. out 0x5,r24 ; MEM[(volatile uint8_t *)37B], tmp44
  54. .L2:
  55. /* #APP */
  56. ; 12 "led.c" 1
  57. nop
  58.  
  59. ; 0 "" 2
  60. /* #NOAPP */
  61. rjmp .L2 ;
  62. .size main, .-main
  63. .ident "GCC: (GNU) 4.7.0"
Add Comment
Please, Sign In to add comment