.global Add10 .section ".text" .align 4 Add10: save %sp,-96,%sp add %i0, %i1, %i0 ! add in p2 add %i0, %i2, %i0 ! add in p3 add %i0, %i3, %i0 ! add in p4 add %i0, %i4, %i0 ! add in p5 add %i0, %i5, %i0 ! add in p6 ld [%fp+92], %l0 ! get p7 - Note: uses FP, not SP ! add %i0, %l0, %i0 ! add in p7 ld [%fp+96], %l0 ! get p8 - Note: uses FP, not SP ! add %i0, %l0, %i0 ! add in p8 ld [%fp+100], %l0 ! get p9 - Note: uses FP, not SP ! add %i0, %l0, %i0 ! add in p9 ld [%fp+104], %l0 ! get p10 - Note: uses FP, not SP ! add %i0, %l0, %i0 ! add in p10 ret restore