Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:multiasm:piot:chapter_4_5 [2026/06/22 21:47] – [Program Memory Addressing with Post-increment] pczekalskien:multiasm:piot:chapter_4_5 [2026/06/23 13:30] (current) – [Data Indirect with Displacement] ktokarz
Line 92: Line 92:
  
 =====Data Indirect with Displacement===== =====Data Indirect with Displacement=====
-The addressing with displacement calculated the sum of two values: the index register and the constant. As shown in figure {{ref>avr_addr_8}}, the operand address is the result of the q displacement contained in the instruction word, added to the Y or Z pointer. Rd/Rr specify the destination or source register. An example of indirect addressing with displacement is accessing an element of a previously defined data table.+The addressing with displacement calculates the sum of two values: the index register and the constant. As shown in figure {{ref>avr_addr_8}}, the operand address is the result of the q displacement contained in the instruction word, added to the Y or Z pointer. Rd/Rr specify the destination or source register. An example of indirect addressing with displacement is accessing an element of a previously defined data table.
 <code asm> <code asm>
 LDD R2, Y+table LDD R2, Y+table
en/multiasm/piot/chapter_4_5.txt · Last modified: by ktokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0