/* * ============================================================================ * Execute function pointer lookup tables: * * DEC_FORMAT -- Decode format for entire instruction space * * FN_IND_2OP -- Indirect -> Register 2-op * FN_DIR_2OP -- Direct -> Register 2-op * FN_IMM_2OP -- Immediate -> Register 2-op * FN_COND_BR -- Conditional branches * FN_REG_2OP -- Register -> Register 2-op * FN_ROT_1OP -- Rotate/Shift 1-op * FN_REG_1OP -- Register 1-op * FN_IMPL_1OP_A -- Implied -> Register 1-op (part a) * FN_IMPL_1OP_B -- Implied -> Register 1-op (part b) * * ============================================================================ */ #ifndef _OP_TABLES_H #define _OP_TABLES_H #include "config.h" #include "periph/periph.h" #include "cp1600/cp1600.h" #include "cp1600/op_decode.h" #include "cp1600/op_exec.h" extern const uint_8 dec_format[]; extern const cp1600_ins_t fn_ind_2op[]; extern const cp1600_ins_t fn_dir_2op[]; extern const cp1600_ins_t fn_imm_2op[]; extern const cp1600_ins_t fn_cond_br[]; extern const cp1600_ins_t fn_reg_2op[]; extern const cp1600_ins_t fn_rot_1op[]; extern const cp1600_ins_t fn_reg_1op[]; extern const cp1600_ins_t fn_impl_1op_a[]; extern const cp1600_ins_t fn_impl_1op_b[]; #endif /* ======================================================================== */ /* This program 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 2 of the License, or */ /* (at your option) any later version. */ /* */ /* This program 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* ======================================================================== */ /* Copyright (c) 1998-1999, Joseph Zbiciak */ /* ======================================================================== */