	.file	"3b_swap.s"
#	ident	"@(#)cfront:lib/task/3b_swap.s	1.2"

	.text
	.globl swap
	.align	4
swap:
	save &0
	movw	0(%ap),%r1	#	r1 = this
	#  the following constant is the displacement of t_framep in task
	movw	20(%r1),%fp	#	fp = this->t_framep
	movw	24(%r1),%r0	#	fudge return -- this->th
	movw	28(%r1),%ap	#	this->t_ap
	ret &6
