.set noat .set noreorder .set nomacro .text .align 2 .align 4 .globl test1 .ent test1 $test1..ng: test1: .frame $30,0,$26,0 .prologue 0 ret $31,($26),1 .end test1 .align 2 .align 4 .globl test2 .ent test2 $test2..ng: test2: .frame $30,0,$26,0 .prologue 0 ret $31,($26),1 .end test2 .align 2 .align 4 .globl test3 .ent test3 $test3..ng: test3: .frame $30,0,$26,0 .prologue 0 ret $31,($26),1 .end test3 .align 2 .align 4 .ent init_xy init_xy: .frame $30,0,$26,0 ldah $29,0($27) !gpdisp!1 lda $29,0($29) !gpdisp!1 $init_xy..ng: .prologue 1 lda $2,3($31) lda $3,2($31) ldq $1,x($29) !literal stl $2,0($1) ldq $1,y($29) !literal stl $3,0($1) ret $31,($26),1 .end init_xy .align 2 .align 4 .globl test4 .ent test4 test4: .frame $30,0,$26,0 .mask 0x4000000,0 ldah $29,0($27) !gpdisp!2 lda $29,0($29) !gpdisp!2 $test4..ng: lda $30,-16($30) stq $26,0($30) .prologue 1 bsr $26,$init_xy..ng ldq $6,y($29) !literal ldq $5,x($29) !literal ldl $2,0($6) ldl $1,0($5) lda $4,1($2) lda $3,1($1) addl $31,$2,$2 addl $31,$1,$1 cmplt $1,$2,$1 subl $3,3,$2 beq $1,$L22 stl $3,0($5) beq $2,$L21 $L26: ldq $27,abort($29) !literal!3 jsr $26,($27),abort !lituse_jsr!3 .align 4 $L21: ldl $1,0($5) cmpeq $1,3,$1 beq $1,$L26 ldl $1,0($6) cmpeq $1,3,$1 beq $1,$L26 ldq $26,0($30) lda $30,16($30) ret $31,($26),1 .align 4 $L22: subl $4,3,$1 stl $4,0($6) bne $1,$L26 br $31,$L21 .end test4 .align 2 .align 4 .globl test5 .ent test5 test5: .frame $30,0,$26,0 .mask 0x4000000,0 ldah $29,0($27) !gpdisp!4 lda $29,0($29) !gpdisp!4 $test5..ng: lda $30,-16($30) stq $26,0($30) .prologue 1 bsr $26,$init_xy..ng ldq $7,y($29) !literal ldq $6,x($29) !literal ldl $5,0($7) ldl $2,0($6) addl $31,$5,$3 addl $31,$2,$1 mov $1,$4 cmplt $1,$3,$1 cpys $f31,$f31,$f31 lda $2,1($2) beq $1,$L28 stl $2,0($6) $L29: cmpeq $4,2,$1 beq $1,$L33 ldl $1,0($6) cmpeq $1,3,$1 beq $1,$L33 ldl $1,0($7) cmpeq $1,3,$1 beq $1,$L33 ldq $26,0($30) lda $30,16($30) ret $31,($26),1 .align 4 $L28: mov $3,$4 lda $1,1($5) stl $1,0($7) br $31,$L29 $L33: ldq $27,abort($29) !literal!5 jsr $26,($27),abort !lituse_jsr!5 .end test5 .align 2 .align 4 .globl test6 .ent test6 test6: .frame $30,0,$26,0 .mask 0x4000000,0 ldah $29,0($27) !gpdisp!6 lda $29,0($29) !gpdisp!6 $test6..ng: lda $30,-16($30) stq $26,0($30) .prologue 1 bsr $26,$init_xy..ng ldq $4,y($29) !literal ldq $5,x($29) !literal ldl $2,0($4) addl $31,$2,$3 cmple $3,3,$1 bne $1,$L35 ldl $1,0($5) mov $1,$2 lda $1,1($1) stl $1,0($5) $L36: cmpeq $2,2,$1 beq $1,$L40 ldq $2,x($29) !literal ldl $1,0($2) cmpeq $1,3,$1 beq $1,$L40 ldl $1,0($4) cmpeq $1,3,$1 beq $1,$L40 ldq $26,0($30) lda $30,16($30) ret $31,($26),1 .align 4 $L35: lda $1,1($2) stl $1,0($4) mov $3,$2 br $31,$L36 $L40: ldq $27,abort($29) !literal!7 jsr $26,($27),abort !lituse_jsr!7 .end test6 .align 2 .align 4 .globl main .ent main main: .frame $30,0,$26,0 .mask 0x4000000,0 ldah $29,0($27) !gpdisp!8 lda $29,0($29) !gpdisp!8 $main..ng: lda $30,-16($30) stq $26,0($30) .prologue 1 bsr $26,$test1..ng bsr $26,$test2..ng bsr $26,$test3..ng bsr $26,$test4..ng bsr $26,$test5..ng bsr $26,$test6..ng mov $31,$16 ldq $27,exit($29) !literal!9 jsr $26,($27),exit !lituse_jsr!9 .end main .comm x,4,4 .comm y,4,4 .ident "GCC: (GNU) 3.3.2"