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

📄 arm2x86_self.h

📁 SkyEye是一个可以运行嵌入式操作系统的硬件仿真工具
💻 H
字号:
/* This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public License alongwith this program; if not, write to the Free Software Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  *//* * author teawater <c7code-uc@yahoo.com.cn> <teawater@gmail.com> */#ifndef _ARM2X86_SELF_H_#define _ARM2X86_SELF_H_#define AREG_st		"ebp"#define AREG_T0		"ebx"#define AREG_T1		"esi"#define AREG_T2		"edi"register ARMul_State *st asm (AREG_st);//register struct ARMul_State *st       asm(AREG_st);register uint32_t T0 asm (AREG_T0);register uint32_t T1 asm (AREG_T1);register uint32_t T2 asm (AREG_T2);#define NFLAG_reg	st->NFlag#define ZFLAG_reg	st->ZFlag#define CFLAG_reg	st->CFlag#define VFLAG_reg	st->VFlag//teawater change for debug function 2005.07.26---------------------------------#define QFLAG_reg	st->SFlag//AJ2D--------------------------------------------------------------------------#define CP_ACCESS_ALLOWED(STATE, CP)			\    (   ((CP) >= 14)					\     || (! (STATE)->is_XScale)				\     || (xscale_cp15_cp_access_allowed(STATE,15,CP)))#endif //_ARM2X86_SELF_H_

⌨️ 快捷键说明

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