USG_PG3/usr/source/clib2/elog.s

Compare this file to the similar file:
Show the results in this format:

/ C Library - error logging functions
/
/	errlog(0)	Turn logging off
/	errlog(1)	Turn logging on
/

.globl	_errlog, cerror

INDIR = 0
ELOG  = 50.

_errlog:
	mov	r5,-(sp)
	mov	sp,r5
	mov	4(r5),func
	sys	INDIR; 9f
	bec	1f
	jmp	cerror
1:
	clr	r0
	mov	(sp)+,r5
	rts	pc

.data
9:
	sys	ELOG; func:..