/* DO NOT EDIT! -*- buffer-read-only: t -*- vi:set ro: */
/* Instruction opcode header for xstormy16.
THIS FILE IS MACHINE GENERATED WITH CGEN.
Copyright (C) 1996-2024 Free Software Foundation, Inc.
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
It is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef XSTORMY16_OPC_H
#define XSTORMY16_OPC_H
#ifdef __cplusplus
extern "C" {
#endif
/* -- opc.h */
/* Allows reason codes to be output when assembler errors occur. */
#define CGEN_VERBOSE_ASSEMBLER_ERRORS
/* Index of `invalid' insn place holder. */
#define CGEN_INSN_INVALID XSTORMY16_INSN_INVALID
/* Total number of insns in table. */
#define MAX_INSNS ((int) XSTORMY16_INSN_SYSCALL + 1)
/* This struct records data prior to insertion or after extraction. */
struct cgen_fields
{
int length;
long f_nil;
long f_anyof;
long f_Rd;
long f_Rdm;
long f_Rm;
long f_Rs;
long f_Rb;
long f_Rbj;
long f_op1;
long f_op2;
long f_op2a;
long f_op2m;
long f_op3;
long f_op3a;
long f_op3b;
long f_op4;
long f_op4m;
long f_op4b;
long f_op5;
long f_op5a;
long f_op;
long f_imm2;
long f_imm3;
long f_imm3b;
long f_imm4;
long f_imm8;
long f_imm12;
long f_imm16;
long f_lmem8;
long f_hmem8;
long f_rel8_2;
long f_rel8_4;
long f_rel12;
long f_rel12a;
long f_abs24_1;
long f_abs24_2;
long f_abs24;
};