arm:armv6-m
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arm:armv6-m [2020/07/23 12:15] – utedass | arm:armv6-m [2022/09/12 00:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ====== Registers ====== | ====== Registers ====== | ||
| + | [[https:// | ||
| + | |||
| ^ Register ^ Special function ^ Description | ^ Register ^ Special function ^ Description | ||
| | R0-R12 | | R0-R12 | ||
| Line 15: | Line 17: | ||
| | R14 | LR | Link Register stores the Return Link | | | R14 | LR | Link Register stores the Return Link | | ||
| | R15 | PC | Program Counter, stores the address to the <wrap hi> | | R15 | PC | Program Counter, stores the address to the <wrap hi> | ||
| + | |||
| + | ====== Exceptions and interrupts ====== | ||
| + | The vector table, B1.5.3 | ||
| + | |||
| ====== Assembler ====== | ====== Assembler ====== | ||
| + | A comprehensive list of mnemonics (several architectures, | ||
| ===== Conditional execution, A6.3 ===== | ===== Conditional execution, A6.3 ===== | ||
| Instruction mnemonics can be followed by a suffix to specify conditional execution. | Instruction mnemonics can be followed by a suffix to specify conditional execution. | ||
| + | [[https:// | ||
| ^ cond ^ Mnemonic extension ^ Description | ^ cond ^ Mnemonic extension ^ Description | ||
| | 0000 | EQ | Equal | | 0000 | EQ | Equal | ||
| Line 37: | Line 45: | ||
| | 1110 | None (AL) | Always (unconditional) | | 1110 | None (AL) | Always (unconditional) | ||
| + | Example | ||
| + | <code arm> | ||
| + | BNE my_fancy_label | ||
| + | </ | ||
| + | |||
| + | ===== Addressing ===== | ||
| + | The ARMv6-M only supports offset addressing. | ||
| + | |||
| + | The syntax is ''< | ||
| ===== Instructions, | ===== Instructions, | ||
| There is a comprehensive list of instructions for the ARMv6-M in chapter A6.7. | There is a comprehensive list of instructions for the ARMv6-M in chapter A6.7. | ||
| + | A good tutorial at [[https:// | ||
arm/armv6-m.1595506525.txt.gz · Last modified: 2022/09/12 00:30 (external edit)
