Commit | Line | Data |
---|---|---|
0fc6e47b KB |
1 | /*- |
2 | * Copyright (c) 1980 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * %sccs.include.redist.c% | |
252367af | 6 | */ |
0c92f711 | 7 | |
72fbef68 | 8 | #ifndef lint |
252367af | 9 | char copyright[] = |
0fc6e47b | 10 | "@(#) Copyright (c) 1980 The Regents of the University of California.\n\ |
252367af | 11 | All rights reserved.\n"; |
0fc6e47b KB |
12 | #endif /* not lint */ |
13 | ||
14 | #ifndef lint | |
15 | static char sccsid[] = "@(#)pic.c 5.2 (Berkeley) %G%"; | |
16 | #endif /* not lint */ | |
0c92f711 PK |
17 | |
18 | #include "OPnames.h" | |
19 | ||
20 | main() { | |
21 | register int j, k; | |
22 | ||
23 | for(j = 0; j < 32; j++) { | |
24 | for (k = 0; k < 256; k += 32) | |
25 | if (otext[j+k]) | |
26 | printf("%03o%cO_%s\t", j+k, *otext[j+k], otext[j+k]+1); | |
27 | else | |
28 | printf("%03o\t\t", j+k); | |
29 | putchar('\n'); | |
30 | if ((j+1)%8 == 0) | |
31 | putchar('\n'); | |
32 | } | |
33 | printf("Starred opcodes are used internally in Pi and are never generated.\n"); | |
34 | exit(0); | |
35 | } |