/* Intel 80960 opcode support. -*- C -*- Copyright (C) 2000 Red Hat, Inc. This file is part of CGEN. */ /* This file is an addendum to i960.cpu. Heavy use of C code isn't appropriate in .cpu files, so it resides here. This especially applies to assembly/disassembly where parsing/printing can be quite involved. Such things aren't really part of the specification of the cpu, per se, so .cpu files provide the general framework and .opc files handle the nitty-gritty details as necessary. Each section is delimited with start and end markers. -opc.h additions use: "-- opc.h" -opc.c additions use: "-- opc.c" -asm.c additions use: "-- asm.c" -dis.c additions use: "-- dis.c" -ibd.h additions use: "-- ibd.h" */ /* -- opc.h */ #undef CGEN_DIS_HASH_SIZE #define CGEN_DIS_HASH_SIZE 256 #undef CGEN_DIS_HASH #define CGEN_DIS_HASH(buffer, value) ((unsigned char *) (buffer))[3] /* ??? Until cgen disassembler complete and functioning well, redirect back to old disassembler. */ #define CGEN_PRINT_INSN(od, pc, info) print_insn_i960_orig (pc, info) /* -- */