aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-14 11:13:35 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-14 11:13:35 +0200
commit2e56bf9807898c6866856008f70ebea474f03987 (patch)
tree92a05ad46ccae5a496a9e1376ed8a8c5622fe3b8 /README.md
parentde75053b3fe683f94efcda21decb5ebc1a8d769c (diff)
downloadstyle.nes-2e56bf9807898c6866856008f70ebea474f03987.tar.gz
style.nes-2e56bf9807898c6866856008f70ebea474f03987.zip
We don't use upper case for PPU registers
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/README.md b/README.md
index be162bf..bcc8ec0 100644
--- a/README.md
+++ b/README.md
@@ -355,13 +355,9 @@ that makes it more apparent what they are.
In a similar way, there are assignments which are simply a way to name regular
numeric constants. This differs to how "variables" are assigned as they are not
memory addresses that the CPU can directly access. Hence, for constant numbers
-or memory addresses which are not directly tied to the CPU (i.e. memory-mapped
-I/O), use upper case in the same way you would in C.
+use upper case in the same way you would in C.
``` assembly
-lda PPU::m_control ; bad!
-lda PPU::CONTROL ; good!
-
bad_constant = 1
GOOD_CONSTANT = 1
```