aslfaqs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
aslfaqs [2025/09/09 18:00] – [Can I do recursion?] reggie | aslfaqs [2025/09/09 19:26] (current) – [Which registers do I use?] reggie | ||
---|---|---|---|
Line 20: | Line 20: | ||
==== Which registers do I use? ==== | ==== Which registers do I use? ==== | ||
- | For an address variable pick an index register, X, Y or even (user stack) U, it doesn' | + | For an address variable pick an index register, X, Y or even (user stack) U, it doesn' |
Choice between index or accumulator severely limits the operations you can perform. Only LD, ST, and CMP are common between all user registers. General arithmetic operations (NEG, AND etc.) are limited to the 8-bit accumulators, | Choice between index or accumulator severely limits the operations you can perform. Only LD, ST, and CMP are common between all user registers. General arithmetic operations (NEG, AND etc.) are limited to the 8-bit accumulators, |
aslfaqs.txt · Last modified: 2025/09/09 19:26 by reggie