Rizin
unix-like reverse engineering framework and cli tools
|
#include "pic_midrange.h"
Go to the source code of this file.
Macros | |
#define | EMIT_INVALID |
Functions | |
PicMidrangeOpcode | pic_midrange_get_opcode (ut16 instr) |
const PicMidrangeOpInfo * | pic_midrange_get_op_info (PicMidrangeOpcode opcode) |
int | pic_midrange_disassemble (RzAsmOp *op, char *opbuf, const ut8 *b, int l) |
Variables | |
static const PicMidrangeOpInfo | pic_midrange_op_info [PIC_MIDRANGE_OPCODE_INVALID] |
static const char * | PicMidrangeFsrOps [] |
#define EMIT_INVALID |
Definition at line 159 of file pic_midrange.c.
References _pic_midrange_op::args, b, test-lz4-speed::branch, EMIT_INVALID, _pic_midrange_op::mnemonic, NULL, pic_midrange_get_op_info(), pic_midrange_get_opcode(), PIC_MIDRANGE_OP_ARGS_11K, PIC_MIDRANGE_OP_ARGS_11K_MASK_K, PIC_MIDRANGE_OP_ARGS_1D_7F, PIC_MIDRANGE_OP_ARGS_1D_7F_MASK_D, PIC_MIDRANGE_OP_ARGS_1D_7F_MASK_F, PIC_MIDRANGE_OP_ARGS_1N_2M, PIC_MIDRANGE_OP_ARGS_1N_2M_MASK_M, PIC_MIDRANGE_OP_ARGS_1N_2M_MASK_N, PIC_MIDRANGE_OP_ARGS_1N_6K, PIC_MIDRANGE_OP_ARGS_1N_6K_MASK_K, PIC_MIDRANGE_OP_ARGS_1N_6K_MASK_N, PIC_MIDRANGE_OP_ARGS_2F, PIC_MIDRANGE_OP_ARGS_2F_MASK_F, PIC_MIDRANGE_OP_ARGS_3B_7F, PIC_MIDRANGE_OP_ARGS_3B_7F_MASK_B, PIC_MIDRANGE_OP_ARGS_3B_7F_MASK_F, PIC_MIDRANGE_OP_ARGS_4K, PIC_MIDRANGE_OP_ARGS_4K_MASK_K, PIC_MIDRANGE_OP_ARGS_7F, PIC_MIDRANGE_OP_ARGS_7F_MASK_F, PIC_MIDRANGE_OP_ARGS_8K, PIC_MIDRANGE_OP_ARGS_8K_MASK_K, PIC_MIDRANGE_OP_ARGS_9K, PIC_MIDRANGE_OP_ARGS_9K_MASK_K, PIC_MIDRANGE_OP_ARGS_NONE, PIC_MIDRANGE_OPCODE_ADDFSR, PIC_MIDRANGE_OPCODE_INVALID, PicMidrangeFsrOps, rz_read_le16(), sdb_fmt(), snprintf, and st16.
Referenced by asm_pic_disassemble().
const PicMidrangeOpInfo* pic_midrange_get_op_info | ( | PicMidrangeOpcode | opcode | ) |
Definition at line 152 of file pic_midrange.c.
References NULL, pic_midrange_op_info, and PIC_MIDRANGE_OPCODE_INVALID.
Referenced by pic_midrange_disassemble().
PicMidrangeOpcode pic_midrange_get_opcode | ( | ut16 | instr | ) |
Definition at line 65 of file pic_midrange.c.
References PIC_MIDRANGE_OPCODE_ADDFSR, PIC_MIDRANGE_OPCODE_ADDLW, PIC_MIDRANGE_OPCODE_ADDWF, PIC_MIDRANGE_OPCODE_ADDWFC, PIC_MIDRANGE_OPCODE_ANDLW, PIC_MIDRANGE_OPCODE_ANDWF, PIC_MIDRANGE_OPCODE_ASRF, PIC_MIDRANGE_OPCODE_BCF, PIC_MIDRANGE_OPCODE_BRA, PIC_MIDRANGE_OPCODE_BRW, PIC_MIDRANGE_OPCODE_BSF, PIC_MIDRANGE_OPCODE_BTFSC, PIC_MIDRANGE_OPCODE_BTFSS, PIC_MIDRANGE_OPCODE_CALL, PIC_MIDRANGE_OPCODE_CALLW, PIC_MIDRANGE_OPCODE_CLR, PIC_MIDRANGE_OPCODE_CLRWDT, PIC_MIDRANGE_OPCODE_COMF, PIC_MIDRANGE_OPCODE_DECF, PIC_MIDRANGE_OPCODE_DECFSZ, PIC_MIDRANGE_OPCODE_GOTO, PIC_MIDRANGE_OPCODE_INCF, PIC_MIDRANGE_OPCODE_INCFSZ, PIC_MIDRANGE_OPCODE_INVALID, PIC_MIDRANGE_OPCODE_IORLW, PIC_MIDRANGE_OPCODE_IORWF, PIC_MIDRANGE_OPCODE_LSLF, PIC_MIDRANGE_OPCODE_LSRF, PIC_MIDRANGE_OPCODE_MOVF, PIC_MIDRANGE_OPCODE_MOVIW_1, PIC_MIDRANGE_OPCODE_MOVIW_2, PIC_MIDRANGE_OPCODE_MOVLB, PIC_MIDRANGE_OPCODE_MOVLP, PIC_MIDRANGE_OPCODE_MOVLW, PIC_MIDRANGE_OPCODE_MOVWF, PIC_MIDRANGE_OPCODE_MOVWI_1, PIC_MIDRANGE_OPCODE_MOVWI_2, PIC_MIDRANGE_OPCODE_NOP, PIC_MIDRANGE_OPCODE_OPTION, PIC_MIDRANGE_OPCODE_RESET, PIC_MIDRANGE_OPCODE_RETFIE, PIC_MIDRANGE_OPCODE_RETLW, PIC_MIDRANGE_OPCODE_RETURN, PIC_MIDRANGE_OPCODE_RLF, PIC_MIDRANGE_OPCODE_RRF, PIC_MIDRANGE_OPCODE_SLEEP, PIC_MIDRANGE_OPCODE_SUBLW, PIC_MIDRANGE_OPCODE_SUBWF, PIC_MIDRANGE_OPCODE_SUBWFB, PIC_MIDRANGE_OPCODE_SWAPF, PIC_MIDRANGE_OPCODE_TRIS, PIC_MIDRANGE_OPCODE_XORLW, and PIC_MIDRANGE_OPCODE_XORWF.
Referenced by analysis_pic_midrange_op(), and pic_midrange_disassemble().
|
static |
Definition at line 7 of file pic_midrange.c.
Referenced by pic_midrange_get_op_info().
|
static |
Definition at line 62 of file pic_midrange.c.
Referenced by pic_midrange_disassemble().