Professional Documents
Culture Documents
ARM Processor 3
ARM Processor 3
ARM Processor 3
Halfword: 16 bits
Word 0 is at location 0
Word 1 is at location 4
System mode
Not entered by an exception
system resources
ARM OPERATING STATES
ARM state
n Executing 32-bit, word-aligned, ARM
Instructions
THUMB state
n Executing 16-bit, half-word aligned THUMB
Instructions
routine is completed
To process exceptions, the ARM processor uses the
vector
ARM EXCEPTION TYPES
Reset
Undefined instruction
Software Interrupt (SWI)
Prefetch Abort
Data Abort
IRQ
FIQ
PDF
ARM REGISTERS
o ARM has a total of 37 registers
o 31: general-purpose, 32-bit registers
o r0~r15, r8_fiq~r13_fiq, r14_fiq, r13_irq, r14_irq,
r13_svc, r14_svc, r13_abt, r14_abt, r13_und, r14_und
o 6: status registers
o CPSR
o SPSR_fiq, SPSR_irq, SPSR_svc, SPSR_abt, SPSR_und
o Not all of these registers are always available
o Processor state: ARM or Thumb
o Unbanked registers: r0~r7
o Banked registers: r8~r14
Unbanked registers (R0-R7)
Each of the registers refers to the same 32-bit
Control field
I: PSR[7]: if 1, disable interrupt
Register
MSR: Move Register to PSR status/flags