File:  [Research Unix] / researchv10no / cmd / cfront / libC / otask / swap.s.3b
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

	.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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.