code: 9ferno

ref: a62654ed1b81fb99271d6a7e8ebe7a870ea1099c
dir: /lib9/getcallerpc-Linux-spim.S/

View raw version
#include <sys/regdef.h>
#include <sys/asm.h>

LEAF(getcallerpc)
	.set	noreorder
	addiu	t0,a0,-4
	j	ra
	lw	v0,0(t0)
	.set reorder
	END(getcallerpc)