1*40588Sbostic /* 2*40588Sbostic * Copyright (c) 1982 Regents of the University of California 3*40588Sbostic */ 4*40588Sbostic #ifndef lint 5*40588Sbostic static char sccsid[] = "@(#)aspseudo.c 4.5 6/30/83"; 6*40588Sbostic #endif not lint 7*40588Sbostic 8*40588Sbostic #include <stdio.h> 9*40588Sbostic #include "as.h" 10*40588Sbostic 11*40588Sbostic #define OP(name, opcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6) \ 12*40588Sbostic { \ 13*40588Sbostic name, opcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6, \ 14*40588Sbostic (nargs == 0 ? INST0:INSTn) \ 15*40588Sbostic } 16*40588Sbostic #define PSEUDO(name, type, tag) \ 17*40588Sbostic { \ 18*40588Sbostic name, type, 0, 0, 0, 0, 0, 0, 0, \ 19*40588Sbostic tag \ 20*40588Sbostic } 21*40588Sbostic 22*40588Sbostic readonly struct Instab instab[] = { 23*40588Sbostic #include "instrs.as" 24*40588Sbostic PSEUDO("\0\0\0\0\0\0\0\0\0\0", 0, 0) 25*40588Sbostic }; 26