aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-07-14 07:45:28 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-07-14 07:45:28 +0200
commit44dbaa303b6caa36ba44cde506f9ef324102394f (patch)
treee4bc0733e8b210d315c28e1be91227d784b8d7da /README.md
parent8c0486910f052d0392c22a7e4d89ef62bd9c8054 (diff)
downloadstyle.nes-44dbaa303b6caa36ba44cde506f9ef324102394f.tar.gz
style.nes-44dbaa303b6caa36ba44cde506f9ef324102394f.zip
Add another note on procs
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1ff2a5d..6922900 100644
--- a/README.md
+++ b/README.md
@@ -448,6 +448,11 @@ be to just `jmp (pointer)`, and then let each handler perform a `jmp
cases like these, I think it's fair to go the optimal route. In other cases,
prefer readability.
+Moreover, note that tooling might perform better if the programmer states
+explicitely that this is indeed a subroutine and not a mere label. This way,
+tooling can inspect where a subroutine starts and ends, and aid the programmer
+in different ways.
+
Otherwise, labels should only be used for control flow and referencing data on
ROM space.