about summary refs log tree commit diff stats
path: root/subx/011parse.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-24 16:06:43 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-24 16:06:43 -0700
commitd57d39cb3f867d6e33ffa8e4cdc7d0ca749cb75c (patch)
tree1800345f57b37202c18218a78b1bb21496460a0f /subx/011parse.cc
parent1faa9790960043f5fbad482cd4b2cf4a6c50efd8 (diff)
downloadmu-d57d39cb3f867d6e33ffa8e4cdc7d0ca749cb75c.tar.gz
4395
Diffstat (limited to 'subx/011parse.cc')
-rw-r--r--subx/011parse.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/subx/011parse.cc b/subx/011parse.cc
index b37eb1cf..189f369d 100644
--- a/subx/011parse.cc
+++ b/subx/011parse.cc
@@ -10,6 +10,9 @@ put(Help, "syntax",
   "A good rule of thumb is to try to start the first segment at the default address of 0x08048000, and to start each subsequent segment at least 0x1000 (most common page size) bytes after the last.\n"
   "If a segment occupies than 0x1000 bytes you'll need to push subsequent segments further down.\n"
   "Currently only the first segment contains executable code (because it gets annoying to have to change addresses in later segments every time an earlier one changes length; one of those finicky requirements).\n"
+  "\n"
+  "Lines consist of a series of words. Words can contain arbitrary metadata after a '/', but they can never contain whitespace. Metadata has no effect at runtime, but can be handy when rewriting macros.\n"
+  "\n"
   "Check out some examples in this directory (ex*.subx)\n"
   "Programming in machine code can be annoying, but let's see if we can make it nice enough to be able to write a compiler in it.\n"
 );