• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.set	noreorder
2.global	pipe
3.type	pipe,@function
4pipe:
5	lui	$3, %hi(%neg(%gp_rel(pipe)))
6	addiu	$3, $3, %lo(%neg(%gp_rel(pipe)))
7	addu	$3, $3, $25
8	li	$2, 6021
9	syscall
10	beq	$7, $0, 1f
11	nop
12	lw	$25, %got_disp(__syscall_ret)($3)
13	jr	$25
14	subu	$4, $0, $2
151:	sw	$2, 0($4)
16	sw	$3, 4($4)
17	move	$2, $0
18	jr	$ra
19	nop
20