⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 decode.h

📁 RISC processor ARM-7 emulator
💻 H
字号:
/*************************************************************************
    Copyright (C) 2002,2003,2004,2005 Wei Qin
    See file COPYING for more information.

    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.
*************************************************************************/

#ifndef __DECODE_H__
#define __DECODE_H__

#include "syscall.h"
#include "dpi.h"
#include "syscall.h"
#include "branch.h"
#include "mult.h"
#include "ldst.h"
#include "statreg.h"
#include "nwfpe.h"
#include "coproc.h"
#include <cstdio>

char *disasm_default(arm_inst_t inst, arm_addr_t pc, char *buf);
char *arm_disassemble(arm_inst_t inst, arm_addr_t pc, char *buf);
char *arm_disassemble(arm_inst_t inst, arm_addr_t pc, char *buf);
void arm_disassemble_to_stream(arm_inst_t inst, arm_addr_t pc, FILE *stream);

#if 0
extern void (*impl_table[256])(arm_inst_t);
extern char *(*disasm_table[256])(arm_inst_t, arm_addr_t, char *);

extern void (*impl_table_32[128])(arm_inst_t);
extern char *(*disasm_table_32[128])(arm_inst_t, arm_addr_t, char *);
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -