xref: /original-bsd/usr.bin/pascal/src/pic.c (revision a9157423)
1 /* Copyright (c) 1979 Regents of the University of California */
2 
3 #ifndef lint
4 static	char sccsid[] = "@(#)pic.c 1.2 08/19/83";
5 #endif
6 
7 #include "OPnames.h"
8 
9 main()  {
10 	register int j, k;
11 
12 	for(j = 0;  j < 32;  j++) {
13 		for (k = 0;  k < 256;  k += 32)
14 			if (otext[j+k])
15 				printf("%03o%cO_%s\t", j+k, *otext[j+k], otext[j+k]+1);
16 			else
17 				printf("%03o\t\t", j+k);
18 		putchar('\n');
19 		if ((j+1)%8 == 0)
20 			putchar('\n');
21 	}
22 	printf("Starred opcodes are used internally in Pi and are never generated.\n");
23 	exit(0);
24 }
25