1 /* 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. 5 */ 6 7 #ifndef lint 8 static char sccsid[] = "@(#)aspseudo.c 5.1 (Berkeley) 04/30/85"; 9 #endif not lint 10 11 #include <stdio.h> 12 #include "as.h" 13 14 #define OP(name, eopcode, popcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6) \ 15 { \ 16 name, popcode, nargs, arg1, arg2, arg3, arg4, arg5, arg6, \ 17 (nargs == 0 ? INST0:INSTn), eopcode \ 18 } 19 #define PSEUDO(name, type, tag) \ 20 { \ 21 name, type, 0, 0, 0, 0, 0, 0, 0, \ 22 tag, CORE \ 23 } 24 25 readonly struct Instab instab[] = { 26 #include "instrs.as" 27 PSEUDO("\0\0\0\0\0\0\0\0\0\0", 0, 0) 28 }; 29