Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stefan@wonka:~$ lm32-rtems4.11-gcc -c -S struct_byval.c -o -
- .file "struct_byval.c"
- .section .text
- .align 4
- .global f0
- .type f0, @function
- f0:
- addi sp, sp, -8
- sw (sp+8), fp
- sw (sp+4), ra
- addi fp, r0, 8
- add fp, fp, sp
- lw fp, (sp+8)
- lw ra, (sp+4)
- addi sp, sp, 8
- b ra
- .size f0, .-f0
- .align 4
- .global f1
- .type f1, @function
- f1:
- addi sp, sp, -1036
- sw (sp+1036), fp
- sw (sp+1032), ra
- addi fp, r0, 1036
- add fp, fp, sp
- addi r1, sp, 4
- addi r2, fp, 4
- addi r3, r0, 1028
- calli memcpy
- calli f0
- lw fp, (sp+1036)
- lw ra, (sp+1032)
- addi sp, sp, 1036
- b ra
- .size f1, .-f1
- .ident "GCC: (GNU) 4.5.3"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement