Advertisement
Guest User

Untitled

a guest
Jul 10th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. stefan@wonka:~$ lm32-rtems4.11-gcc -c -S struct_byval.c -o -
  2. .file "struct_byval.c"
  3. .section .text
  4. .align 4
  5. .global f0
  6. .type f0, @function
  7. f0:
  8. addi sp, sp, -8
  9. sw (sp+8), fp
  10. sw (sp+4), ra
  11. addi fp, r0, 8
  12. add fp, fp, sp
  13. lw fp, (sp+8)
  14. lw ra, (sp+4)
  15. addi sp, sp, 8
  16. b ra
  17. .size f0, .-f0
  18. .align 4
  19. .global f1
  20. .type f1, @function
  21. f1:
  22. addi sp, sp, -1036
  23. sw (sp+1036), fp
  24. sw (sp+1032), ra
  25. addi fp, r0, 1036
  26. add fp, fp, sp
  27. addi r1, sp, 4
  28. addi r2, fp, 4
  29. addi r3, r0, 1028
  30. calli memcpy
  31. calli f0
  32. lw fp, (sp+1036)
  33. lw ra, (sp+1032)
  34. addi sp, sp, 1036
  35. b ra
  36. .size f1, .-f1
  37. .ident "GCC: (GNU) 4.5.3"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement