change debug_out format of addr to JZ_FMT_plx
[qemu/qemu-JZ.git] / tests / alpha / crt.s
blob31af8825bc5fba6aaa71cdabcb6c8d709e0ce0a4
1 .text
3 .globl _start
4 .ent _start,0
5 _start:
6 .frame $15,0,$15
7 br $29,1f
8 1: ldgp $29, 0($29)
9 .prologue 0
10 ldq $27,main($29) !literal!1
11 jsr $26,($27)
12 or $0,$0,$16
13 .end _start
15 .globl _exit
16 _exit:
17 lda $0,1
18 callsys
20 call_pal 0
22 .globl write
23 write:
24 lda $0,4
25 callsys
26 ret