arm9rutinasarm.h

来自「ARM9Core v0.4, 在x86 Win32 下模拟仿真ARM9 微处理器」· C头文件 代码 · 共 58 行

H
58
字号
/*
    ARM9Core
    Copyright (C) 2007 Alberto Huerta Aranda,
	Sergio Hidalgo Serrano, Daniel Sa駏do Vacas

    This library is free software; you can redistribute it and/or
	modify it under the terms of the GNU Lesser General Public
	License as published by the Free Software Foundation; either
	version 3 of the License, or (at your option) any later version.

	This library 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
	Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
	License along with this library. If not, see <http://www.gnu.org/licenses/>

*/


#ifndef ARM9RutinasARMH
#define ARM9RutinasARMH

/**************************************************************************************

  Archivo: ARM9RutinasARM.h

  Descripcion: Codigo de las rutinas del modo ARM

**************************************************************************************/

#include "Utils.h"
#include "ARM9MacrosARM.h"

//Predefinicion de las clases para evitar referencias cruzadas
class ARM9Core;
class ARM9Contexto;


class ARM9RutinasARM {
protected:
	ARM9Core *core;
	ARM9Contexto *contexto;
	int tablaGenerada;
	void* tablaSaltos[256][16];

	bool tablaCond[16][16];	//[Opcode][CPSR]

public:
	
	ARM9RutinasARM ();
	int run (ARM9Core *core, ARM9Contexto *contexto, int nCiclos);

};


#endif

⌨️ 快捷键说明

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