Annotation of 41BSD/cmd/px/opoff.c, revision 1.1

1.1     ! root        1: /* Copyright (c) 1979 Regents of the University of California */
        !             2: 
        !             3: static char sccsid[] = "@(#)opoff.c 4.1 10/10/80";
        !             4: 
        !             5: #include "OPnames.h"
        !             6: 
        !             7: main()  {
        !             8:        register int i;
        !             9: 
        !            10:        for (i = 0;  i < 256;  i++)
        !            11:                if (otext[i] && *otext[i] != '*')
        !            12:                        printf("\t.word\t_%s-optab\n", otext[i]+1);
        !            13:                else
        !            14:                        printf("\t.word\tbadop-optab\n");
        !            15:        printf("badop:\n");
        !            16:        printf("\tincl\tr10\n");
        !            17:        printf("\tmovw\t$EBADOP,_perrno\n");
        !            18:        printf("\tjbr\terror\n");
        !            19:        exit(0);
        !            20: }

unix.superglobalmegacorp.com

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