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