.set noat .set noreorder .set nomacro .globl glob_ptr_int .section .sdata,"aw",@progbits .align 3 .type glob_ptr_int, @object .size glob_ptr_int, 8 glob_ptr_int: .quad glob_int_arr .globl glob_int .align 2 .type glob_int, @object .size glob_int, 4 glob_int: .long 4 .align 3 .type stat_ptr_int, @object .size stat_ptr_int, 8 stat_ptr_int: .quad stat_int_arr .globl ptr_str .align 3 .type ptr_str, @object .size ptr_str, 8 ptr_str: .quad str .text .align 2 .align 4 .globl simple_global .ent simple_global simple_global: .frame $30,0,$26,0 ldah $29,0($27) !gpdisp!1 lda $29,0($29) !gpdisp!1 $simple_global..ng: .prologue 1 ldah $1,glob_ptr_int($29) !gprelhigh ldq $2,glob_int_arr($29) !literal ldq $3,glob_ptr_int($1) !gprellow ldah $1,glob_int($29) !gprelhigh ldq $31,0($2) ldq $31,glob_int($1) !gprellow ldq $31,0($3) ret $31,($26),1 .end simple_global .align 2 .align 4 .globl simple_file .ent simple_file simple_file: .frame $30,0,$26,0 ldah $29,0($27) !gpdisp!2 lda $29,0($29) !gpdisp!2 $simple_file..ng: .prologue 1 ldah $1,stat_ptr_int($29) !gprelhigh ldah $2,stat_int_arr($29) !gprelhigh ldq $3,stat_ptr_int($1) !gprellow bis $31,$31,$31 ldah $1,stat_int($29) !gprelhigh ldq $31,stat_int_arr($2) !gprellow ldq $31,stat_int($1) !gprellow bis $31,$31,$31 ldq $31,0($3) ret $31,($26),1 .end simple_file .section .bss .type gx.0, @object .size gx.0, 400 .align 2 gx.0: .zero 400 .section .sdata .align 3 .type hx.1, @object .size hx.1, 8 hx.1: .quad gx.0 .section .sbss,"aw" .type ix.2, @object .size ix.2, 4 .align 2 ix.2: .zero 4 .text .align 2 .align 4 .globl simple_static_local .ent simple_static_local simple_static_local: .frame $30,0,$26,0 ldah $29,0($27) !gpdisp!3 lda $29,0($29) !gpdisp!3 $simple_static_local..ng: .prologue 1 ldah $1,hx.1($29) !gprelhigh ldah $2,gx.0($29) !gprelhigh ldq $3,hx.1($1) !gprellow bis $31,$31,$31 ldah $1,ix.2($29) !gprelhigh ldq $31,gx.0($2) !gprellow ldq $31,ix.2($1) !gprellow bis $31,$31,$31 ldq $31,0($3) ret $31,($26),1 .end simple_static_local .align 2 .align 4 .globl simple_local .ent simple_local $simple_local..ng: simple_local: .frame $30,0,$26,0 lda $30,-416($30) .prologue 0 ldq $31,0($30) ldq $31,0($30) ldq $31,400($30) lda $30,416($30) ret $31,($26),1 .end simple_local .align 2 .align 4 .globl simple_arg .ent simple_arg $simple_arg..ng: simple_arg: .frame $30,0,$26,0 lda $30,-16($30) .prologue 0 ldq $31,0($16) ldq $31,0($17) ldq $31,0($30) lda $30,16($30) ret $31,($26),1 .end simple_arg .align 2 .align 4 .globl expr_global .ent expr_global expr_global: .frame $30,0,$26,0 ldah $29,0($27) !gpdisp!4 lda $29,0($29) !gpdisp!4 $expr_global..ng: .prologue 1 ldah $1,ptr_str($29) !gprelhigh ldah $2,glob_int($29) !gprelhigh ldq $5,str($29) !literal ldq $4,ptr_str($1) !gprellow ldah $1,glob_ptr_int($29) !gprelhigh ldl $3,glob_int($2) !gprellow ldq $6,glob_int_arr($29) !literal ldq $2,glob_ptr_int($1) !gprellow s4addq $3,0,$3 ldq $8,16($5) ldq $7,16($4) bis $31,$31,$31 addq $2,$3,$1 ldq $31,0($5) addq $3,$6,$3 ldq $31,8($8) ldq $31,8($7) ldq $31,0($3) ldq $31,0($1) ldq $31,0($4) ldq $31,4($5) ldq $31,4($4) ldq $31,8($5) ldq $31,8($4) ldq $31,0($8) ldq $31,0($7) ldq $31,0($6) ldq $31,0($2) ldq $31,8($6) ldq $31,12($2) ldq $31,12($6) bis $31,$31,$31 ldq $31,20($2) ret $31,($26),1 .end expr_global .align 2 .align 4 .globl expr_local .ent expr_local $expr_local..ng: expr_local: .frame $30,0,$26,0 lda $30,-80($30) .prologue 0 lda $6,48($30) lda $3,52($30) ldq $1,64($30) lda $2,56($30) ldq $31,0($30) lda $7,12($30) ldq $31,0($6) lda $4,8($1) ldq $31,0($3) lda $5,16($30) ldq $31,0($2) ldq $31,0($4) ldq $31,0($7) ldq $31,0($5) ldq $31,0($6) ldq $31,0($3) ldq $31,0($2) ldq $31,0($1) ldq $31,0($1) ldq $31,0($4) ldq $31,0($30) ldq $31,8($30) ldq $31,0($7) ldq $31,0($5) ldq $31,20($30) lda $30,80($30) ret $31,($26),1 .end expr_local .align 2 .align 4 .globl main .ent main main: .frame $30,0,$26,0 .mask 0x4000000,0 ldah $29,0($27) !gpdisp!5 lda $29,0($29) !gpdisp!5 $main..ng: lda $30,-16($30) stq $26,0($30) .prologue 1 bsr $26,$simple_global..ng bsr $26,$simple_file..ng bsr $26,$simple_static_local..ng bsr $26,$simple_local..ng ldah $2,glob_int($29) !gprelhigh ldq $16,glob_int_arr($29) !literal ldah $1,glob_ptr_int($29) !gprelhigh ldl $18,glob_int($2) !gprellow ldq $17,glob_ptr_int($1) !gprellow bsr $26,$simple_arg..ng ldq $1,str($29) !literal stq $1,16($1) bsr $26,$expr_global..ng bsr $26,$expr_local..ng mov $31,$16 ldq $27,exit($29) !literal!6 jsr $26,($27),exit !lituse_jsr!6 .end main .comm glob_int_arr,400,4 .section .bss .type stat_int_arr, @object .size stat_int_arr, 400 .align 2 stat_int_arr: .zero 400 .section .sbss,"aw" .type stat_int, @object .size stat_int, 4 .align 2 stat_int: .zero 4 .comm str,24,8 .ident "GCC: (GNU) 3.3.2"