diff options
Diffstat (limited to 'subx/001help.cc')
-rw-r--r-- | subx/001help.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subx/001help.cc b/subx/001help.cc index 3b60f60f..c2b0390e 100644 --- a/subx/001help.cc +++ b/subx/001help.cc @@ -54,7 +54,9 @@ void init_help() { "Comments start with the '#' character. It should be at the start of a word (start of line, or following a space).\n" "Each segment starts with a header line: a '--' delimiter followed by the starting address for the segment.\n" "The starting address for a segment has some finicky requirements. But just start with a round number, and `subx` will try to guide you to the right answer.\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).\n" + "A good default is to try to start the first segment at the default address of 0x08048000, and to start subsequent segments at least 0x1000 (most common page size) bytes after.\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" "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" ); // End Help Texts |