Category:8086 Assembly: Difference between revisions
m
→Other Registers: Clarification
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→Other Registers: Clarification) |
||
Line 31:
===Other Registers===
When writing to or reading from consecutive sections of memory, it is helpful to apply an offset from a base value. The Base Pointer register <code>BP</code>, Source Index <code>SI</code>, and Destination Index <code>DI</code> can point to various regions of memory. Many commands that work with these registers can auto-increment or decrement them after each load or store. In addition, they can be optionally offset by a constant, or the value stored in <code>BX</code>. Unlike the data registers, <code>BP</code>,<code>DI</code>, and <code>SI</code> cannot be split in half and worked on separately. Only data registers allow you to work in 8-bit.
===The Stack===
|