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

📄 arm7tdmi.h

📁 一个任天堂掌上游戏机NDS的源代码
💻 H
📖 第 1 页 / 共 3 页
字号:
        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 opSWI();

        //---Thumb ops-------------------------------------------------------------

        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 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();

#ifdef ARM7TDMI_X86	
        //---Dynarec instructions

	//---Exceptional opcodes
	static OPCODE xopUNP();   // Unpredictable op
        static OPCODE xopUND();   // Undefined op
        static OPCODE xopUNI();   // Unimplemented op
	static OPCODE xopUNL();   // Unlinked (opcode cache filler)
        static OPCODE xtopUND();  // Thumb-mode undefined
	
        //---Branch (with Link)----------------------------------------------------

        static OPCODE xopB(), xopBL();
        static OPCODE xopBX();

        //---DP (DataProcessing); LsL/LsR/AsR/RoR; Immediate/Register--------------

        static OPCODE xopANDlli(), xopANDllr();
        static OPCODE xopANDlri(), xopANDlrr();
        static OPCODE xopANDari(), xopANDarr();
        static OPCODE xopANDrri(), xopANDrrr();
        static OPCODE xopANDimm();

        static OPCODE xopEORlli(), xopEORllr();
        static OPCODE xopEORlri(), xopEORlrr();
        static OPCODE xopEORari(), xopEORarr();
        static OPCODE xopEORrri(), xopEORrrr();
        static OPCODE xopEORimm();

        static OPCODE xopSUBlli(), xopSUBllr();
        static OPCODE xopSUBlri(), xopSUBlrr();
        static OPCODE xopSUBari(), xopSUBarr();
        static OPCODE xopSUBrri(), xopSUBrrr();
        static OPCODE xopSUBimm();

        static OPCODE xopRSBlli(), xopRSBllr();
        static OPCODE xopRSBlri(), xopRSBlrr();
        static OPCODE xopRSBari(), xopRSBarr();
        static OPCODE xopRSBrri(), xopRSBrrr();
        static OPCODE xopRSBimm();

        static OPCODE xopADDlli(), xopADDllr();
        static OPCODE xopADDlri(), xopADDlrr();
        static OPCODE xopADDari(), xopADDarr();
        static OPCODE xopADDrri(), xopADDrrr();
        static OPCODE xopADDimm();

        static OPCODE xopADClli(), xopADCllr();
        static OPCODE xopADClri(), xopADClrr();
        static OPCODE xopADCari(), xopADCarr();
        static OPCODE xopADCrri(), xopADCrrr();
        static OPCODE xopADCimm();

        static OPCODE xopSBClli(), xopSBCllr();
        static OPCODE xopSBClri(), xopSBClrr();
        static OPCODE xopSBCari(), xopSBCarr();
        static OPCODE xopSBCrri(), xopSBCrrr();
        static OPCODE xopSBCimm();

        static OPCODE xopRSClli(), xopRSCllr();
        static OPCODE xopRSClri(), xopRSClrr();
        static OPCODE xopRSCari(), xopRSCarr();
        static OPCODE xopRSCrri(), xopRSCrrr();
        static OPCODE xopRSCimm();

        static OPCODE xopORRlli(), xopORRllr();
        static OPCODE xopORRlri(), xopORRlrr();
        static OPCODE xopORRari(), xopORRarr();
        static OPCODE xopORRrri(), xopORRrrr();
        static OPCODE xopORRimm();

        static OPCODE xopMOVlli(), xopMOVllr();
        static OPCODE xopMOVlri(), xopMOVlrr();
        static OPCODE xopMOVari(), xopMOVarr();
        static OPCODE xopMOVrri(), xopMOVrrr();
        static OPCODE xopMOVimm();

        static OPCODE xopBIClli(), xopBICllr();
        static OPCODE xopBIClri(), xopBIClrr();
        static OPCODE xopBICari(), xopBICarr();
        static OPCODE xopBICrri(), xopBICrrr();
        static OPCODE xopBICimm();

        static OPCODE xopMVNlli(), xopMVNllr();
        static OPCODE xopMVNlri(), xopMVNlrr();
        static OPCODE xopMVNari(), xopMVNarr();
        static OPCODE xopMVNrri(), xopMVNrrr();
        static OPCODE xopMVNimm();

        static OPCODE xopANDSlli(), xopANDSllr();
        static OPCODE xopANDSlri(), xopANDSlrr();
        static OPCODE xopANDSari(), xopANDSarr();
        static OPCODE xopANDSrri(), xopANDSrrr();
        static OPCODE xopANDSimm();

        static OPCODE xopEORSlli(), xopEORSllr();
        static OPCODE xopEORSlri(), xopEORSlrr();
        static OPCODE xopEORSari(), xopEORSarr();
        static OPCODE xopEORSrri(), xopEORSrrr();
        static OPCODE xopEORSimm();

        static OPCODE xopSUBSlli(), xopSUBSllr();
        static OPCODE xopSUBSlri(), xopSUBSlrr();
        static OPCODE xopSUBSari(), xopSUBSarr();
        static OPCODE xopSUBSrri(), xopSUBSrrr();
        static OPCODE xopSUBSimm();

        static OPCODE xopRSBSlli(), xopRSBSllr();
        static OPCODE xopRSBSlri(), xopRSBSlrr();

⌨️ 快捷键说明

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