您好,欢迎访问三七文档
ARMMMUARMTHUMBARM32THUMB16BXRm*ARMBigEndianformat0x1234567812345678LittleEndianformat0x123456787856341281632ARM373132632ARMARM¾R0~R7¾R8~R14¾(PC)R15CPSRSPSR_fiqCPSRR15(PC)R14_fiqR13_fiqR12_fiq….R8_fiqR7…R1R0SPSR_svcCPSRR15(PC)R14_svcR13_svcR12….R8R7…R1R0SPSR_abtCPSRR15(PC)R14_abtR13_abtR12….R8R7…R1R0SPSR_irqCPSRR15(PC)R14_irqR13_irqR12….R8R7…R1R0CPSRR15(PC)R14R13R12….R8R7…R1R0SPR13LRPCARMARMARM0x00x20ARM00ROM……………………0x000000000xFFFFFFFFMMU3232ARM7TDMIMMUARM32RISC(ReducedInstructionSetComputer)/32Pipeline:3forARM7,5forARM9ARMADDEQR0,R1,R2LSL#3;IftheZflagisset,thendoa;multiplyR2by2^3followedbyan;addofR1andstoreresultintoR0ARMSWIIO/THUMB16“Thumb”ARM65%16ARM160%Thumb:.256byte,4K(ARM32Mbytes)(ARM)10%THUMBThumbBNElabel;skipnexttwoinstructionsifZflagis0LSLR2,R2,#3;multiplyR2by2^3andplaceinR2ADDR0,R1,R2;addR1+R2andplaceinR0:label;continueThumbADRADRLLDRALIGNDCxEQUxOPTJTAGTMSTCKTDITDOnTRSTARM7TDMIICE-RTARM7TDMI•ARMExceptionHandler–Reset–Undefinedinstruction–SWI–Prefetchabort–Dataabort–Reserved–FIQ–IRQRESET•reset–ENTRY–0x04Byte,EA0000XX–CPSR–BSP–CUndefinedInstruction•––0x4,4bytes–Donothing–SWI•–0x8,4Bytes–monitor––ARMThumbAbort•Perfectabort––0x0c,4bytes•Dataabort––0x10,4bytes–donothing–FIQIRQ•FIQ–0x18,4bytes•IRQ–0x1c,4bytes–FIQIRQ–IRQFIQ–
本文标题:ARM内核结构简介
链接地址:https://www.777doc.com/doc-23648 .html