en:multiasm:piot:chapter_4_3
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:multiasm:piot:chapter_4_3 [2026/01/19 14:59] – marcin | en:multiasm:piot:chapter_4_3 [2026/01/19 15:08] (current) – marcin | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| Comparison Table: AVR Registers R0–R15 vs. R16–R31 | Comparison Table: AVR Registers R0–R15 vs. R16–R31 | ||
| - | ^ Feature | + | ^ Feature |
| - | | Instruction compatibility | + | | Instruction compatibility |
| - | | Opcode encoding | + | | Opcode encoding |
| - | | Typical compiler usage | + | | Typical compiler usage | Less preferred; used for temporary or special roles |
| - | | Special-purpose roles | R0: scratch< | + | | Special-purpose roles |
| - | | Pointer support | + | | Pointer support |
| - | | Efficiency | + | | Efficiency |
| - | | Multiplication involvement | R0/R1 used implicitly for results | + | | Multiplication involvement |
| - | | Suitability in ASM | + | | Suitability in ASM | Limited; avoid with immediates; R0/R1 have special rules | Recommended for general ALU operations |
| - | | GCC policy | + | | GCC policy |
| <figure avr_registers> | <figure avr_registers> | ||
| - | {{en: | + | {{en: |
| < | < | ||
| </ | </ | ||
| Line 35: | Line 35: | ||
| <figure avr_registers> | <figure avr_registers> | ||
| - | {{en: | + | {{en: |
| < | < | ||
| </ | </ | ||
en/multiasm/piot/chapter_4_3.1768827574.txt.gz · Last modified: by marcin
