/ C library - getcsw
/ To hell with portability!  Getcsw() is a lovely idea.  If you have
/ the switches, fine.  If not, you are out of luck.

/ csw = getcsw();

.globl	_getcsw

_getcsw:
	MCOUNT
	mov	r5,-(sp)
	mov	sp,r5
	sys	38.
	mov	(sp)+,r5
	rts	pc
