/* Copyright (c) 1979 Regents of the University of California */
#define OP(name,opcode,nargs,arg1,arg2,arg3,arg4,arg5,arg6) \
name,(nargs==0 ? INST0:INSTn), opcode,nargs, \
arg1,arg2,arg3,arg4,arg5,arg6 \
#define PSEUDO(name, type, tag) \
readonly
struct instab instab
[] = {
PSEUDO(".space", 0, ISPACE
),
PSEUDO(".byte", 0, IBYTE
),
PSEUDO(".word", 0, IWORD
),
PSEUDO(".long", 0, ILONG
),
PSEUDO(".data", 0, IDATA
),
PSEUDO(".globl", 0, IGLOBAL
),
PSEUDO(".text", 0, ITEXT
),
PSEUDO(".comm", 0, ICOMM
),
PSEUDO(".lcomm", 0, ILCOMM
),
PSEUDO(".lsym", 0, ILSYM
),
PSEUDO(".align", 0, IALIGN
),
PSEUDO(".float", 0, IFLOAT
),
PSEUDO(".double", 0, IDOUBLE
),
PSEUDO(".stab", 0, ISTAB
),
PSEUDO(".stabs", 0, ISTABSTR
),
PSEUDO(".stabn", 0, ISTABNONE
),
PSEUDO(".stabd", 0, ISTABDOT
),
PSEUDO(".ascii", 0, IASCII
),
PSEUDO(".asciz", 0, IASCIZ
),
PSEUDO(".file", 0, IFILE
),
PSEUDO(".line", 0, ILINENO
),
PSEUDO(".ABORT", 0, IABORT
),
PSEUDO("jcc", 0x1e, IJXXX
),
PSEUDO("jcs", 0x1f, IJXXX
),
PSEUDO("jeql", 0x13, IJXXX
),
PSEUDO("jeqlu", 0x13, IJXXX
),
PSEUDO("jgeq", 0x18, IJXXX
),
PSEUDO("jgequ", 0x1e, IJXXX
),
PSEUDO("jgtr", 0x14, IJXXX
),
PSEUDO("jgtru", 0x1a, IJXXX
),
PSEUDO("jleq", 0x15, IJXXX
),
PSEUDO("jlequ", 0x1b, IJXXX
),
PSEUDO("jlss", 0x19, IJXXX
),
PSEUDO("jlssu", 0x1f, IJXXX
),
PSEUDO("jneq", 0x12, IJXXX
),
PSEUDO("jnequ", 0x12, IJXXX
),
PSEUDO("jvc", 0x1c, IJXXX
),
PSEUDO("jvs", 0x1d, IJXXX
),
PSEUDO("jbr", 0x11, IJXXX
),
PSEUDO("jbc", 0xe1, IJXXX
),
PSEUDO("jbs", 0xe0, IJXXX
),
PSEUDO("jbcc", 0xe5, IJXXX
),
PSEUDO("jbsc", 0xe4, IJXXX
),
PSEUDO("jbcs", 0xe3, IJXXX
),
PSEUDO("jbss", 0xe2, IJXXX
),
PSEUDO("jlbc", 0xe9, IJXXX
),
PSEUDO("jlbs", 0xe8, IJXXX
),