File: ia64.s

package info (click to toggle)
arch-test 0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 260 kB
  • sloc: asm: 461; perl: 187; makefile: 155; sh: 149; ansic: 6
file content (16 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.globl _start
.data
msg:	.ascii "ok\n"
.text
_start:
	alloc   loc0 = ar.pfs,0,32,3,0

	mov	out0=1
	movl	out1=msg
	mov	out2=3
	mov	r15=1027
	break.i	0x100000		// syscall: write(out0, out1, out2)

	mov	out0=0
	mov	r15=1025
	break.i	0x100000		// syscall: _exit(out0)