sd:sd-8516_assembly_language
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sd:sd-8516_assembly_language [2026/04/05 09:49] – appledog | sd:sd-8516_assembly_language [2026/04/05 09:51] (current) – appledog | ||
|---|---|---|---|
| Line 110: | Line 110: | ||
| | T | Temporary Register | There is a saying, if you are preserving T you're doing it wrong. Don't PUSH and POP T to protect it-- use it locally and then ignore it. T is our favorite temporary register! | | | T | Temporary Register | There is a saying, if you are preserving T you're doing it wrong. Don't PUSH and POP T to protect it-- use it locally and then ignore it. T is our favorite temporary register! | | ||
| | M, D | Memory pointer and memory pointer Destination. | These are often used in pairings like ELM, ELD, etc, to point to memory locations. As such they are generally for immediate use only and could be used on their own as temporary registers. | ELM is EL as high-byte | | | M, D | Memory pointer and memory pointer Destination. | These are often used in pairings like ELM, ELD, etc, to point to memory locations. As such they are generally for immediate use only and could be used on their own as temporary registers. | ELM is EL as high-byte | | ||
| - | | E, F, G | Extra registers | + | | E, F, G | Extra registers |
| - | | L | The Last True Register | If you really need another register, use this one. For emergency use only. | | + | | L | The Last True Register | If you really need another register, use this one. For emergency use only. | Rarely used. | |
| - | | Z | Z-index pointer | Often used as a third dimensional register for graphics or data processing. | + | | Z | Z-index pointer | Often used as a third dimensional register for graphics or data processing. |
| === Byte Access | === Byte Access | ||
sd/sd-8516_assembly_language.1775382570.txt.gz · Last modified: by appledog
