diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-14 11:13:35 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-14 11:13:35 +0200 |
| commit | 2e56bf9807898c6866856008f70ebea474f03987 (patch) | |
| tree | 92a05ad46ccae5a496a9e1376ed8a8c5622fe3b8 /README.md | |
| parent | de75053b3fe683f94efcda21decb5ebc1a8d769c (diff) | |
| download | style.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.md | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 ``` |
