xref: /csrg-svn/old/as.vax/aspseudo.c (revision 19825)
15828Srrh /*
2*19825Sdist  * Copyright (c) 1982 Regents of the University of California.
3*19825Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19825Sdist  * specifies the terms and conditions for redistribution.
55828Srrh  */
6*19825Sdist 
75828Srrh #ifndef lint
8*19825Sdist static char sccsid[] = "@(#)aspseudo.c	5.1 (Berkeley) 04/30/85";
95828Srrh #endif not lint
105828Srrh 
11598Sbill #include <stdio.h>
12598Sbill #include "as.h"
13598Sbill 
145828Srrh #define	OP(name, eopcode, popcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6) \
15598Sbill 	{ \
165828Srrh 		name, popcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6, \
175828Srrh 		(nargs == 0 ? INST0:INSTn), eopcode \
18598Sbill 	}
19633Shenry #define	PSEUDO(name, type, tag) \
20598Sbill 	{ \
21633Shenry 		name, type, 0,   0, 0, 0, 0, 0, 0, \
225828Srrh 		tag, CORE \
23598Sbill 	}
24598Sbill 
25633Shenry readonly struct Instab instab[] = {
265828Srrh #include "instrs.as"
2713514Srrh PSEUDO("\0\0\0\0\0\0\0\0\0\0", 0, 0)
28598Sbill };
29