ARM7TDMI:thumb2 instruction set it is 2 bytes some 4 bytes thumb2 arm+thumb total 37 registers R0-R15 general purpose R13 stack R14 Link( lr (or r14) is used as a link register to store the return address ) by default data abort is handled when an application read or write an illegal memory location. You can calculate the illegal memory location using by subtracting 8 from the value in R14 (link register). Exceptions are processed in ARM state The SWI instruction causes a SWI exception. This means that the processor state changes to ARM , the processor mode changes to Supervisor, the CPSR is saved to the Supervisor Mode SPSR, and execution branches to the SWI vector ARMCM3: two states *debug state *thumb state 16 registers 13 GP 3 special purpose The ARM7TDMI core has a Von Neumann architecture, with a single 32-bit data bus carrying both instructions and data. Th...
Comments
Post a Comment