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 11:08] – 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 16: | Line 18: | ||
| | R15 | PC | Program Counter, stores the address to the <wrap hi> | | R15 | PC | Program Counter, stores the address to the <wrap hi> | ||
| - | ====== | + | ====== |
| + | The vector table, B1.5.3 | ||
| + | |||
| + | ====== 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 36: | Line 44: | ||
| | 1101 | LE | Signed less than or equal | | 1101 | LE | Signed less than or equal | ||
| | 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, | ||
| + | There is a comprehensive list of instructions for the ARMv6-M in chapter A6.7. | ||
| + | |||
| + | A good tutorial at [[https:// | ||
arm/armv6-m.1595502512.txt.gz · Last modified: 2022/09/12 00:30 (external edit)
