ARM

From wiki.openedev
Jump to: navigation, search

ARMv7[edit]

32-bit little-endian style ARM processor, example Cortex-A9

Registers[edit]

32-bit long 15 general-purpose registers r0-r14, program counter(r15) and cprs(current program status register). In assembly programming r13 used for stack pointer and r14 used for link register.

Instructions[edit]

  • Data processing
  • Load & Store
  • Conditional
  • Branch
  • Co-processor
  • Exception

Assembler sample[edit]

Processor modes[edit]

Exception handling[edit]

Memory Model[edit]

ARMv8[edit]