.file "20000726-1.c" .data .align 2 .type adjust, @object .size adjust, 8 adjust: .word 0 .word 0 .word 1 .word 1 .text .align 2 .globl main .type main, @function main: link.w %a6,#-4 move.w #1,-4(%a6) move.w #1,-2(%a6) pea -2(%a6) pea -4(%a6) jbsr adjust_xy addq.l #8,%sp cmp.w #1,-4(%a6) jbeq .L2 jbsr abort .align 2 .L2: clr.l -(%sp) jbsr exit nop .size main, .-main .align 2 .globl adjust_xy .type adjust_xy, @function adjust_xy: link.w %a6,#0 move.l 8(%a6),%a1 move.w adjust,%d1 muls.w (%a1),%d1 move.l 12(%a6),%a0 move.w adjust+2,%d0 muls.w (%a0),%d0 add.w %d0,%d1 add.w adjust+4,%d1 move.w %d1,(%a1) unlk %a6 rts .size adjust_xy, .-adjust_xy .ident "GCC: (GNU) 3.3.2"