/ C library-- lock

/ error = mlock(flag)

.globl	_mlock, cerror
.lock = 53.

_mlock:
	mov	r5,-(sp)
	mov	sp,r5
	mov	4(sp),r0
	sys	.lock
	bec	1f
	jmp	cerror
1:
	clr	r0
	mov	(sp)+,r5
	rts	pc
