diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -387,11 +387,12 @@ jsr read_controller_x ``` Reading from one controller or the other is the same but the `x` register can be -used to select which controller to read. Similarly, use the `x` or the `y` -registers as a "select" for the function's code. This pattern can also be -reproduced in functions that perform bank switching, for example, as a way to -index the bank to be selected. This can be further documented by adding a suffix -into the function's name, as it's done in the above example. +used to select which controller to read. In general, this is a pattern in which +the `x` or the `y` registers are used as a "select" for the function's code. +This pattern can also be reproduced in functions that perform bank switching, +for example, as a way to index the bank to be selected. This can be further +documented by adding a suffix into the function's name, as it's done in the +above example. ## Memory arguments first, optimize with registers later |
