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