.file "amp2.c" .section ".debug_abbrev" .LLdebug_abbrev0: .section ".debug_info" .LLdebug_info0: .section ".debug_line" .LLdebug_line0: .section ".text" .LLtext0: .section ".rodata" .align 8 .LLC0: .asciz "&i = %u, &j = %u\n" .section ".text" .align 4 .global main .type main, #function .proc 04 main: .LLFB2: .LLM1: !#PROLOGUE# 0 save %sp, -120, %sp .LLCFI0: !#PROLOGUE# 1 .LLM2: mov 10, %g1 st %g1, [%fp-20] mov 20, %g1 st %g1, [%fp-24] .LLM3: add %fp, -20, %o5 add %fp, -24, %o4 sethi %hi(.LLC0), %g1 or %g1, %lo(.LLC0), %o0 mov %o5, %o1 mov %o4, %o2 call printf, 0 nop .LLM4: ld [%fp-20], %o0 ld [%fp-24], %o1 call sum, 0 nop .LLM5: mov %g1, %i0 ret restore .LLFE2: .size main, .-main .section ".rodata" .align 8 .LLC1: .asciz "In sum, &a = %u, &b = %u\n" .align 8 .LLC2: .asciz "&result = %u\n" .section ".text" .align 4 .global sum .type sum, #function .proc 04 sum: .LLFB3: .LLM6: !#PROLOGUE# 0 save %sp, -120, %sp .LLCFI1: !#PROLOGUE# 1 st %i0, [%fp+68] st %i1, [%fp+72] .LLM7: add %fp, 72, %o5 sethi %hi(.LLC1), %g1 or %g1, %lo(.LLC1), %o0 add %fp, 68, %o1 mov %o5, %o2 call printf, 0 nop .LLM8: add %fp, -20, %o5 sethi %hi(.LLC2), %g1 or %g1, %lo(.LLC2), %o0 mov %o5, %o1 call printf, 0 nop .LLM9: ld [%fp+68], %o5 ld [%fp+72], %g1 add %o5, %g1, %g1 st %g1, [%fp-20] .LLM10: ld [%fp-20], %g1 .LLM11: mov %g1, %i0 ret restore .LLFE3: .size sum, .-sum .section ".debug_frame" .LLframe0: .uaword .LLECIE0-.LLSCIE0 .LLSCIE0: .uaword 0xffffffff .byte 0x1 .asciz "" .byte 0x1 .byte 0x7c .byte 0xf .byte 0xc .byte 0xe .byte 0x0 .align 4 .LLECIE0: .LLSFDE0: .uaword .LLEFDE0-.LLASFDE0 .LLASFDE0: .uaword .LLframe0 .uaword .LLFB2 .uaword .LLFE2-.LLFB2 .byte 0x4 .uaword .LLCFI0-.LLFB2 .byte 0xd .byte 0x1e .byte 0x2d .byte 0x9 .byte 0xf .byte 0x1f .align 4 .LLEFDE0: .LLSFDE2: .uaword .LLEFDE2-.LLASFDE2 .LLASFDE2: .uaword .LLframe0 .uaword .LLFB3 .uaword .LLFE3-.LLFB3 .byte 0x4 .uaword .LLCFI1-.LLFB3 .byte 0xd .byte 0x1e .byte 0x2d .byte 0x9 .byte 0xf .byte 0x1f .align 4 .LLEFDE2: .section ".text" .LLetext0: .section ".debug_line" .uaword .LLELT0-.LLSLT0 .LLSLT0: .uahalf 0x2 .uaword .LLELTP0-.LLASLTP0 .LLASLTP0: .byte 0x1 .byte 0x1 .byte 0xf6 .byte 0xf5 .byte 0xa .byte 0x0 .byte 0x1 .byte 0x1 .byte 0x1 .byte 0x1 .byte 0x0 .byte 0x0 .byte 0x0 .byte 0x1 .byte 0x0 .asciz "amp2.c" .byte 0x0 .byte 0x0 .byte 0x0 .asciz "" .byte 0x0 .byte 0x0 .byte 0x0 .byte 0x0 .LLELTP0: .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM1 .byte 0x17 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM2 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM3 .byte 0x16 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM4 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM5 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM6 .byte 0x17 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM7 .byte 0x17 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM8 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM9 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM10 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLM11 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .uaword .LLetext0 .byte 0x0 .byte 0x1 .byte 0x1 .LLELT0: .section ".debug_info" .uaword 0xfa .uahalf 0x2 .uaword .LLdebug_abbrev0 .byte 0x4 .byte 0x1 .uaword .LLdebug_line0 .uaword .LLetext0 .uaword .LLtext0 .asciz "GNU C 3.4.1" .byte 0x1 .asciz "amp2.c" .asciz "/home/whm/352/c" .byte 0x2 .uaword 0x88 .byte 0x1 .asciz "main" .byte 0x1 .byte 0x4 .uaword 0x88 .uaword .LLFB2 .uaword .LLFE2 .byte 0x1 .byte 0x6e .byte 0x3 .asciz "i" .byte 0x1 .byte 0x5 .uaword 0x88 .byte 0x2 .byte 0x91 .byte 0x6c .byte 0x3 .asciz "j" .byte 0x1 .byte 0x5 .uaword 0x88 .byte 0x2 .byte 0x91 .byte 0x68 .byte 0x4 .byte 0x1 .asciz "printf" .byte 0x2 .byte 0x0 .byte 0x1 .uaword 0x88 .byte 0x1 .byte 0x5 .uaword 0x8f .byte 0x6 .byte 0x0 .byte 0x0 .byte 0x7 .asciz "int" .byte 0x4 .byte 0x5 .byte 0x8 .byte 0x4 .uaword 0x95 .byte 0x9 .uaword 0x9a .byte 0x7 .asciz "char" .byte 0x1 .byte 0x5 .byte 0xa .byte 0x1 .asciz "sum" .byte 0x1 .byte 0xc .byte 0x1 .uaword 0x88 .uaword .LLFB3 .uaword .LLFE3 .byte 0x1 .byte 0x6e .byte 0xb .asciz "a" .byte 0x1 .byte 0xb .uaword 0x88 .byte 0x3 .byte 0x91 .byte 0xc4,0x0 .byte 0xb .asciz "b" .byte 0x1 .byte 0xb .uaword 0x88 .byte 0x3 .byte 0x91 .byte 0xc8,0x0 .byte 0x3 .asciz "result" .byte 0x1 .byte 0xd .uaword 0x88 .byte 0x2 .byte 0x91 .byte 0x6c .byte 0x4 .byte 0x1 .asciz "printf" .byte 0x2 .byte 0x0 .byte 0x1 .uaword 0x88 .byte 0x1 .byte 0x5 .uaword 0x8f .byte 0x6 .byte 0x0 .byte 0x0 .byte 0x0 .section ".debug_abbrev" .byte 0x1 .byte 0x11 .byte 0x1 .byte 0x10 .byte 0x6 .byte 0x12 .byte 0x1 .byte 0x11 .byte 0x1 .byte 0x25 .byte 0x8 .byte 0x13 .byte 0xb .byte 0x3 .byte 0x8 .byte 0x1b .byte 0x8 .byte 0x0 .byte 0x0 .byte 0x2 .byte 0x2e .byte 0x1 .byte 0x1 .byte 0x13 .byte 0x3f .byte 0xc .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x49 .byte 0x13 .byte 0x11 .byte 0x1 .byte 0x12 .byte 0x1 .byte 0x40 .byte 0xa .byte 0x0 .byte 0x0 .byte 0x3 .byte 0x34 .byte 0x0 .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x49 .byte 0x13 .byte 0x2 .byte 0xa .byte 0x0 .byte 0x0 .byte 0x4 .byte 0x2e .byte 0x1 .byte 0x3f .byte 0xc .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x27 .byte 0xc .byte 0x49 .byte 0x13 .byte 0x3c .byte 0xc .byte 0x0 .byte 0x0 .byte 0x5 .byte 0x5 .byte 0x0 .byte 0x49 .byte 0x13 .byte 0x0 .byte 0x0 .byte 0x6 .byte 0x18 .byte 0x0 .byte 0x0 .byte 0x0 .byte 0x7 .byte 0x24 .byte 0x0 .byte 0x3 .byte 0x8 .byte 0xb .byte 0xb .byte 0x3e .byte 0xb .byte 0x0 .byte 0x0 .byte 0x8 .byte 0xf .byte 0x0 .byte 0xb .byte 0xb .byte 0x49 .byte 0x13 .byte 0x0 .byte 0x0 .byte 0x9 .byte 0x26 .byte 0x0 .byte 0x49 .byte 0x13 .byte 0x0 .byte 0x0 .byte 0xa .byte 0x2e .byte 0x1 .byte 0x3f .byte 0xc .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x27 .byte 0xc .byte 0x49 .byte 0x13 .byte 0x11 .byte 0x1 .byte 0x12 .byte 0x1 .byte 0x40 .byte 0xa .byte 0x0 .byte 0x0 .byte 0xb .byte 0x5 .byte 0x0 .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x49 .byte 0x13 .byte 0x2 .byte 0xa .byte 0x0 .byte 0x0 .byte 0x0 .section ".debug_pubnames" .uaword 0x1f .uahalf 0x2 .uaword .LLdebug_info0 .uaword 0xfe .uaword 0x3c .asciz "main" .uaword 0xa2 .asciz "sum" .uaword 0x0 .section ".debug_aranges" .uaword 0x1c .uahalf 0x2 .uaword .LLdebug_info0 .byte 0x4 .byte 0x0 .uahalf 0x0 .uahalf 0x0 .uaword .LLtext0 .uaword .LLetext0-.LLtext0 .uaword 0x0 .uaword 0x0 .ident "GCC: (GNU) 3.4.1"