Commit | Line | Data |
---|---|---|
f70ab843 | 1 | /* |
bcf1365c DF |
2 | * Copyright (c) 1982 Regents of the University of California. |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
f70ab843 | 5 | */ |
bcf1365c | 6 | |
f70ab843 | 7 | #ifndef lint |
bcf1365c | 8 | static char sccsid[] = "@(#)aspseudo.c 5.1 (Berkeley) %G%"; |
f70ab843 RH |
9 | #endif not lint |
10 | ||
25f154de | 11 | #include <stdio.h> |
25f154de BJ |
12 | #include "as.h" |
13 | ||
f70ab843 | 14 | #define OP(name, eopcode, popcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6) \ |
25f154de | 15 | { \ |
f70ab843 RH |
16 | name, popcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6, \ |
17 | (nargs == 0 ? INST0:INSTn), eopcode \ | |
25f154de | 18 | } |
451260e7 | 19 | #define PSEUDO(name, type, tag) \ |
25f154de | 20 | { \ |
451260e7 | 21 | name, type, 0, 0, 0, 0, 0, 0, 0, \ |
f70ab843 | 22 | tag, CORE \ |
25f154de BJ |
23 | } |
24 | ||
451260e7 | 25 | readonly struct Instab instab[] = { |
f70ab843 | 26 | #include "instrs.as" |
ec43bca4 | 27 | PSEUDO("\0\0\0\0\0\0\0\0\0\0", 0, 0) |
25f154de | 28 | }; |