File:  [Research Unix] / researchv10no / cmd / PDP11 / 11as / as12.c
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

/* a2 -- pdp-11 assembler pass 1 */
#include "as1.h"

error(t)
{
	++errflg;
	if (*curarg) {filerr(*curarg,"\n"); *curarg=0;}	/* print file name once */
	printf("%c %.4d\n",t,line);
}

putw(t)
OP t;
{
	if (ifflg==0 || (t.v=='\n'))
		if (EOF==fwrite(&t,2,1,pof)) wrterr();
}

unix.superglobalmegacorp.com

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