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

📄 arm9es.h

📁 一个任天堂掌上游戏机NDS的源代码
💻 H
📖 第 1 页 / 共 2 页
字号:

        static OPCODE opMVNSlli(), opMVNSllr();
        static OPCODE opMVNSlri(), opMVNSlrr();
        static OPCODE opMVNSari(), opMVNSarr();
        static OPCODE opMVNSrri(), opMVNSrrr();
        static OPCODE opMVNSimm();

        //---Multiply/LongMul------------------------------------------------------

        static OPCODE opCLZ();
	
        static OPCODE opMUL(), opMLA();
        static OPCODE opUMULL(), opUMLAL(), opSMULL(), opSMLAL();

        static OPCODE opMULS(), opMLAS();
        static OPCODE opUMULLS(), opUMLALS(), opSMULLS(), opSMLALS();

        //---Move Register From Status; Imm/Reg; Cpsr/Spsr-------------------------

        static OPCODE opMRSrc(), opMRSrs();

        //---Move Status from Register; Cpsr/Spsr----------------------------------

        static OPCODE opMSRrc(), opMSRrs();
        static OPCODE opMSRic(), opMSRis();

        //---LS (Load/Store); PReidx/OFfset/PsTidx; Imm/Reg; Minus/Plus; (Shift)---

        static OPCODE opLDRptim(), opLDRofim(), opLDRprim();
        static OPCODE opLDRptip(), opLDRofip(), opLDRprip();

        static OPCODE opSTRptim(), opSTRofim(), opSTRprim();
        static OPCODE opSTRptip(), opSTRofip(), opSTRprip();

        static OPCODE opLDRBptim(), opLDRBofim(), opLDRBprim();
        static OPCODE opLDRBptip(), opLDRBofip(), opLDRBprip();

        static OPCODE opSTRBptim(), opSTRBofim(), opSTRBprim();
        static OPCODE opSTRBptip(), opSTRBofip(), opSTRBprip();

        static OPCODE opLDRHptim(), opLDRHofim(), opLDRHprim();
        static OPCODE opLDRHptip(), opLDRHofip(), opLDRHprip();
        static OPCODE opLDRHptrm(), opLDRHofrm(), opLDRHprrm();
        static OPCODE opLDRHptrp(), opLDRHofrp(), opLDRHprrp();

        static OPCODE opSTRHptim(), opSTRHofim(), opSTRHprim();
        static OPCODE opSTRHptip(), opSTRHofip(), opSTRHprip();
        static OPCODE opSTRHptrm(), opSTRHofrm(), opSTRHprrm();
        static OPCODE opSTRHptrp(), opSTRHofrp(), opSTRHprrp();

        static OPCODE opLDRTptim(), opLDRTofim(), opLDRTprim();
        static OPCODE opLDRTptip(), opLDRTofip(), opLDRTprip();

        static OPCODE opSTRTptim(), opSTRTofim(), opSTRTprim();
        static OPCODE opSTRTptip(), opSTRTofip(), opSTRTprip();

        static OPCODE opLDRBTptim(), opLDRBTofim(), opLDRBTprim();
        static OPCODE opLDRBTptip(), opLDRBTofip(), opLDRBTprip();

        static OPCODE opSTRBTptim(), opSTRBTofim(), opSTRBTprim();
        static OPCODE opSTRBTptip(), opSTRBTofip(), opSTRBTprip();

        static OPCODE opLDRSHptim(), opLDRSHofim(), opLDRSHprim();
        static OPCODE opLDRSHptip(), opLDRSHofip(), opLDRSHprip();
        static OPCODE opLDRSHptrm(), opLDRSHofrm(), opLDRSHprrm();
        static OPCODE opLDRSHptrp(), opLDRSHofrp(), opLDRSHprrp();

        static OPCODE opLDRSBptim(), opLDRSBofim(), opLDRSBprim();
        static OPCODE opLDRSBptip(), opLDRSBofip(), opLDRSBprip();
        static OPCODE opLDRSBptrm(), opLDRSBofrm(), opLDRSBprrm();
        static OPCODE opLDRSBptrp(), opLDRSBofrp(), opLDRSBprrp();

        static OPCODE opLDRptrmll(), opLDRofrmll(), opLDRprrmll();
        static OPCODE opLDRptrpll(), opLDRofrpll(), opLDRprrpll();
        static OPCODE opLDRptrmlr(), opLDRofrmlr(), opLDRprrmlr();
        static OPCODE opLDRptrplr(), opLDRofrplr(), opLDRprrplr();
        static OPCODE opLDRptrmar(), opLDRofrmar(), opLDRprrmar();
        static OPCODE opLDRptrpar(), opLDRofrpar(), opLDRprrpar();
        static OPCODE opLDRptrmrr(), opLDRofrmrr(), opLDRprrmrr();
        static OPCODE opLDRptrprr(), opLDRofrprr(), opLDRprrprr();

        static OPCODE opSTRptrmll(), opSTRofrmll(), opSTRprrmll();
        static OPCODE opSTRptrpll(), opSTRofrpll(), opSTRprrpll();
        static OPCODE opSTRptrmlr(), opSTRofrmlr(), opSTRprrmlr();
        static OPCODE opSTRptrplr(), opSTRofrplr(), opSTRprrplr();
        static OPCODE opSTRptrmar(), opSTRofrmar(), opSTRprrmar();
        static OPCODE opSTRptrpar(), opSTRofrpar(), opSTRprrpar();
        static OPCODE opSTRptrmrr(), opSTRofrmrr(), opSTRprrmrr();
        static OPCODE opSTRptrprr(), opSTRofrprr(), opSTRprrprr();

        static OPCODE opLDRBptrmll(), opLDRBofrmll(), opLDRBprrmll();
        static OPCODE opLDRBptrpll(), opLDRBofrpll(), opLDRBprrpll();
        static OPCODE opLDRBptrmlr(), opLDRBofrmlr(), opLDRBprrmlr();
        static OPCODE opLDRBptrplr(), opLDRBofrplr(), opLDRBprrplr();
        static OPCODE opLDRBptrmar(), opLDRBofrmar(), opLDRBprrmar();
        static OPCODE opLDRBptrpar(), opLDRBofrpar(), opLDRBprrpar();
        static OPCODE opLDRBptrmrr(), opLDRBofrmrr(), opLDRBprrmrr();
        static OPCODE opLDRBptrprr(), opLDRBofrprr(), opLDRBprrprr();

        static OPCODE opSTRBptrmll(), opSTRBofrmll(), opSTRBprrmll();
        static OPCODE opSTRBptrpll(), opSTRBofrpll(), opSTRBprrpll();
        static OPCODE opSTRBptrmlr(), opSTRBofrmlr(), opSTRBprrmlr();
        static OPCODE opSTRBptrplr(), opSTRBofrplr(), opSTRBprrplr();
        static OPCODE opSTRBptrmar(), opSTRBofrmar(), opSTRBprrmar();
        static OPCODE opSTRBptrpar(), opSTRBofrpar(), opSTRBprrpar();
        static OPCODE opSTRBptrmrr(), opSTRBofrmrr(), opSTRBprrmrr();
        static OPCODE opSTRBptrprr(), opSTRBofrprr(), opSTRBprrprr();

        static OPCODE opLDRTptrmll(), opLDRTofrmll(), opLDRTprrmll();
        static OPCODE opLDRTptrpll(), opLDRTofrpll(), opLDRTprrpll();
        static OPCODE opLDRTptrmlr(), opLDRTofrmlr(), opLDRTprrmlr();
        static OPCODE opLDRTptrplr(), opLDRTofrplr(), opLDRTprrplr();
        static OPCODE opLDRTptrmar(), opLDRTofrmar(), opLDRTprrmar();
        static OPCODE opLDRTptrpar(), opLDRTofrpar(), opLDRTprrpar();
        static OPCODE opLDRTptrmrr(), opLDRTofrmrr(), opLDRTprrmrr();
        static OPCODE opLDRTptrprr(), opLDRTofrprr(), opLDRTprrprr();

        static OPCODE opSTRTptrmll(), opSTRTofrmll(), opSTRTprrmll();
        static OPCODE opSTRTptrpll(), opSTRTofrpll(), opSTRTprrpll();
        static OPCODE opSTRTptrmlr(), opSTRTofrmlr(), opSTRTprrmlr();
        static OPCODE opSTRTptrplr(), opSTRTofrplr(), opSTRTprrplr();
        static OPCODE opSTRTptrmar(), opSTRTofrmar(), opSTRTprrmar();
        static OPCODE opSTRTptrpar(), opSTRTofrpar(), opSTRTprrpar();
        static OPCODE opSTRTptrmrr(), opSTRTofrmrr(), opSTRTprrmrr();
        static OPCODE opSTRTptrprr(), opSTRTofrprr(), opSTRTprrprr();

        static OPCODE opLDRBTptrmll(), opLDRBTofrmll(), opLDRBTprrmll();
        static OPCODE opLDRBTptrpll(), opLDRBTofrpll(), opLDRBTprrpll();
        static OPCODE opLDRBTptrmlr(), opLDRBTofrmlr(), opLDRBTprrmlr();
        static OPCODE opLDRBTptrplr(), opLDRBTofrplr(), opLDRBTprrplr();
        static OPCODE opLDRBTptrmar(), opLDRBTofrmar(), opLDRBTprrmar();
        static OPCODE opLDRBTptrpar(), opLDRBTofrpar(), opLDRBTprrpar();
        static OPCODE opLDRBTptrmrr(), opLDRBTofrmrr(), opLDRBTprrmrr();
        static OPCODE opLDRBTptrprr(), opLDRBTofrprr(), opLDRBTprrprr();

        static OPCODE opSTRBTptrmll(), opSTRBTofrmll(), opSTRBTprrmll();
        static OPCODE opSTRBTptrpll(), opSTRBTofrpll(), opSTRBTprrpll();
        static OPCODE opSTRBTptrmlr(), opSTRBTofrmlr(), opSTRBTprrmlr();
        static OPCODE opSTRBTptrplr(), opSTRBTofrplr(), opSTRBTprrplr();
        static OPCODE opSTRBTptrmar(), opSTRBTofrmar(), opSTRBTprrmar();
        static OPCODE opSTRBTptrpar(), opSTRBTofrpar(), opSTRBTprrpar();
        static OPCODE opSTRBTptrmrr(), opSTRBTofrmrr(), opSTRBTprrmrr();
        static OPCODE opSTRBTptrprr(), opSTRBTofrprr(), opSTRBTprrprr();

        //---SWP-------------------------------------------------------------------

        static OPCODE opSWP(), opSWPB();

        //---LoaD/STore Multiple; Increment/Decrement After/Before-----------------

        static OPCODE opLDMIA(), opLDMIB(), opLDMDA(), opLDMDB();
        static OPCODE opSTMIA(), opSTMIB(), opSTMDA(), opSTMDB();

        static OPCODE opLDMIAu(), opLDMIBu(), opLDMDAu(), opLDMDBu();
        static OPCODE opSTMIAu(), opSTMIBu(), opSTMDAu(), opSTMDBu();

        static OPCODE opLDMIAw(), opLDMIBw(), opLDMDAw(), opLDMDBw();
        static OPCODE opSTMIAw(), opSTMIBw(), opSTMDAw(), opSTMDBw();

        static OPCODE opLDMIAuw(), opLDMIBuw(), opLDMDAuw(), opLDMDBuw();
        static OPCODE opSTMIAuw(), opSTMIBuw(), opSTMDAuw(), opSTMDBuw();

        //---SoftWare Interrupts---------------------------------------------------

        static OPCODE opBKPT(), opSWI();

        //---Coprocessor handlers--------------------------------------------------

	static OPCODE opMRC(), opMCR(), opCDP();
	static OPCODE opLDCofm(), opLDCofp();
	static OPCODE opLDCprm(), opLDCprp();
	static OPCODE opLDCptm(), opLDCptp();
	static OPCODE opLDCunm(), opLDCunp();
	static OPCODE opSTCofm(), opSTCofp();
	static OPCODE opSTCprm(), opSTCprp();
	static OPCODE opSTCptm(), opSTCptp();
	static OPCODE opSTCunm(), opSTCunp();
	
        //---eDSP extension--------------------------------------------------------
	
        static OPCODE opLDRDptim(), opLDRDofim(), opLDRDprim();
        static OPCODE opLDRDptip(), opLDRDofip(), opLDRDprip();
        static OPCODE opLDRDptrm(), opLDRDofrm(), opLDRDprrm();
        static OPCODE opLDRDptrp(), opLDRDofrp(), opLDRDprrp();
        static OPCODE opSTRDptim(), opSTRDofim(), opSTRDprim();
        static OPCODE opSTRDptip(), opSTRDofip(), opSTRDprip();
        static OPCODE opSTRDptrm(), opSTRDofrm(), opSTRDprrm();
        static OPCODE opSTRDptrp(), opSTRDofrp(), opSTRDprrp();
	
        static OPCODE opQADD(), opQSUB(), opQDADD(), opQDSUB();

	static OPCODE opSMLABB(), opSMLABT(), opSMLATB(), opSMLATT();
	static OPCODE opSMULBB(), opSMULBT(), opSMULTB(), opSMULTT();
	static OPCODE opSMLALBB(), opSMLALBT(), opSMLALTB(), opSMLALTT();
	static OPCODE opSMLAWB(), opSMLAWT(), opSMULWB(), opSMULWT();
	
        //---Thumb ops-------------------------------------------------------------

        static OPCODE topUND();

        static OPCODE topLSLimm(), topLSRimm(), topASRimm();
        static OPCODE topADDreg(), topSUBreg();
        static OPCODE topADDimm3(), topSUBimm3();

        static OPCODE topMOVimm8r0(), topMOVimm8r1();
        static OPCODE topMOVimm8r2(), topMOVimm8r3();
        static OPCODE topMOVimm8r4(), topMOVimm8r5();
        static OPCODE topMOVimm8r6(), topMOVimm8r7();
        static OPCODE topCMPimm8r0(), topCMPimm8r1();
        static OPCODE topCMPimm8r2(), topCMPimm8r3();
        static OPCODE topCMPimm8r4(), topCMPimm8r5();
        static OPCODE topCMPimm8r6(), topCMPimm8r7();
        static OPCODE topADDimm8r0(), topADDimm8r1();
        static OPCODE topADDimm8r2(), topADDimm8r3();
        static OPCODE topADDimm8r4(), topADDimm8r5();
        static OPCODE topADDimm8r6(), topADDimm8r7();
        static OPCODE topSUBimm8r0(), topSUBimm8r1();
        static OPCODE topSUBimm8r2(), topSUBimm8r3();
        static OPCODE topSUBimm8r4(), topSUBimm8r5();
        static OPCODE topSUBimm8r6(), topSUBimm8r7();

        static OPCODE topDPg1(), topDPg2(), topDPg3(), topDPg4();
        static OPCODE topADDH(), topMOVH(), topCMPH(), topBXreg();

        static OPCODE topLDRPCr0(), topLDRPCr1();
        static OPCODE topLDRPCr2(), topLDRPCr3();
        static OPCODE topLDRPCr4(), topLDRPCr5();
        static OPCODE topLDRPCr6(), topLDRPCr7();

        static OPCODE topSTRSPr0(), topSTRSPr1();
        static OPCODE topSTRSPr2(), topSTRSPr3();
        static OPCODE topSTRSPr4(), topSTRSPr5();
        static OPCODE topSTRSPr6(), topSTRSPr7();
        static OPCODE topLDRSPr0(), topLDRSPr1();
        static OPCODE topLDRSPr2(), topLDRSPr3();
        static OPCODE topLDRSPr4(), topLDRSPr5();
        static OPCODE topLDRSPr6(), topLDRSPr7();

        static OPCODE topSTRreg(),  topLDRreg();
        static OPCODE topSTRHreg(), topLDRHreg();
        static OPCODE topSTRBreg(), topLDRBreg();

        static OPCODE topLDRSBreg(), topLDRSHreg();

        static OPCODE topSTRimm5(),  topLDRimm5();
        static OPCODE topSTRBimm5(), topLDRBimm5();
        static OPCODE topSTRHimm5(), topLDRHimm5();

        static OPCODE topADDPCr0(), topADDPCr1();
        static OPCODE topADDPCr2(), topADDPCr3();
        static OPCODE topADDPCr4(), topADDPCr5();
        static OPCODE topADDPCr6(), topADDPCr7();
        static OPCODE topADDSPr0(), topADDSPr1();
        static OPCODE topADDSPr2(), topADDSPr3();
        static OPCODE topADDSPr4(), topADDSPr5();
        static OPCODE topADDSPr6(), topADDSPr7();
        static OPCODE topADDSPimm7();

        static OPCODE topPUSH(), topPUSHlr();
        static OPCODE topPOP(),  topPOPpc();

        static OPCODE topBKPT(), topSWI();

        static OPCODE topLDMIAr0(), topLDMIAr1();
        static OPCODE topLDMIAr2(), topLDMIAr3();
        static OPCODE topLDMIAr4(), topLDMIAr5();
        static OPCODE topLDMIAr6(), topLDMIAr7();
        static OPCODE topSTMIAr0(), topSTMIAr1();
        static OPCODE topSTMIAr2(), topSTMIAr3();
        static OPCODE topSTMIAr4(), topSTMIAr5();
        static OPCODE topSTMIAr6(), topSTMIAr7();

        static OPCODE topBEQ(), topBNE(), topBCS(), topBCC();
        static OPCODE topBMI(), topBPL(), topBVS(), topBVC();
        static OPCODE topBHI(), topBLS(), topBGE(), topBLT();
        static OPCODE topBGT(), topBLE();

        static OPCODE topB(), topBLsetup(), topBLoff(), topBLXoff();
};

// Allow for cross-compilation of the common opcode implementations
#define OPC ARM9ES::OPCODE ARM9ES::

#endif//__ARM9ES_H_

/*** EOF: arm9es.h *******************************************************/

⌨️ 快捷键说明

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