File:  [CSRG BSD Unix] / 43BSD / contrib / apl / src / reset.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

.globl _setexit, _reset

	.text
_setexit:
	mov     (sp)+,spc
	mov     sp,ssp
	mov     r1,sr1
	mov     r2,sr2
	mov     r3,sr3
	mov     r4,sr4
	mov     r5,sr5
	jmp     *spc


_reset:
	mov     ssp,sp
	mov     sr1,r1
	mov     sr2,r2
	mov     sr3,r3
	mov     sr4,r4
	mov     sr5,r5
	jmp     *spc

	.data
sr1:    0
sr2:    0
sr3:    0
sr4:    0
sr5:    0
ssp:    0
spc:    0

unix.superglobalmegacorp.com

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