diff options
| -rw-r--r-- | README.md | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -408,12 +408,11 @@ Reading from one controller or the other is the same but the `x` register can be 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. +for example, as a way to index the bank to be selected. -In this example, adding a suffix like `_x` is already telling the caller that -the `x` register is involved on this scenario. +This can be further documented by adding a suffix into the function's name, as +it's done in the above example. In this example, adding a suffix like `_x` is +already telling the caller that the `x` register is involved on this scenario. # Flow of control |
