statreg.h

来自「RISC processor ARM-7 emulator」· C头文件 代码 · 共 50 行

H
50
字号
/*************************************************************************
    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 __STATREG_H__
#define __STATREG_H__

#ifdef _MODULARIZE_
typedef emulator::arm_emulator armulator;
#endif

void impl_mrs(IMPL_FORMALS);		/*0x10*/
void impl_mrs_r(IMPL_FORMALS);	/*0x14*/

void impl_msr_1(IMPL_FORMALS);	/*0x32*/
void impl_msr_1r(IMPL_FORMALS);	/*0x36*/

void impl_msr_2(IMPL_FORMALS);	/*0x12*/
void impl_msr_2r(IMPL_FORMALS);	/*0x16*/

char *disasm_mrs(arm_inst_t, arm_addr_t, char *);		/*0x10*/
char *disasm_mrs_r(arm_inst_t, arm_addr_t, char *);	/*0x14*/

char *disasm_msr_1(arm_inst_t, arm_addr_t, char *);	/*0x32*/
char *disasm_msr_1r(arm_inst_t, arm_addr_t, char *);	/*0x36*/

char *disasm_msr_2(arm_inst_t, arm_addr_t, char *);	/*0x12*/
char *disasm_msr_2r(arm_inst_t, arm_addr_t, char *);	/*0x16*/

#define incr_mrs INST_MRS
#define incr_mrs_r INST_MRS

#define incr_msr_1 INST_MSR
#define incr_msr_1r INST_MSR
#define incr_msr_2 INST_MSR
#define incr_msr_2r INST_MSR

#endif

⌨️ 快捷键说明

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