1 .section .text 2 .global start 3start: 4 5 mov.l stack_k,r15 6 7 ! call the mainline 8L1: 9 mov.l main_k,r0 10 .uses L1 11 jsr @r0 12 nop 13 14 .align 2 15stack_k: 16 .long _stack 17main_k: 18 .long _main 19 20 .global _trap 21_trap: 22 trapa #3 23 rts 24 nop 25 26 .section .stack 27_stack: .long 0xdeaddead 28