diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-09-15 20:27:37 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-09-15 20:27:37 -0400 |
commit | 82bf84cdde94f93265a3ba564f81a3b996e20d6b (patch) | |
tree | 6303bf890d3e9ce14e057aeb157c30e9cfe3687f /Code-cleanup.md | |
parent | 1876c4ffc43d8333e9deb30c7fc50933452e0074 (diff) |
[$ff00+c]
Diffstat (limited to 'Code-cleanup.md')
-rw-r--r-- | Code-cleanup.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Code-cleanup.md b/Code-cleanup.md index c9ec832..d38c434 100644 --- a/Code-cleanup.md +++ b/Code-cleanup.md @@ -15,6 +15,8 @@ As of 0.3.7, we have these features that are little-used: - `BANK(@)` gets the current bank; `BANK("Section Name")` is also valid (some labels can thus be removed) - `\` continues lines, like in C or Python, which could help clean up long macros (`trainer`, `npctrade`) and implement new ones (like for data/trainers/attributes.asm or data/pokemon/base_stats/\*.asm) +The next release will include [this pull request](https://github.com/rednex/rgbds/pull/277), which supports the aliases `ldh [c], a` for `ld [$ff00+c], a` and `ldh a, [c]` for `ld a, [$ff00+c]`. These will be easier to read and pair better with other uses of `ldh`. + ### Meaningless temporary labels |