diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-08-15 12:14:47 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-08-15 12:14:47 -0700 |
commit | 6d617e8b61036ed8f91d19adfd6fa57755485966 (patch) | |
tree | 6aa0157bd9500b4245d7b590fa7f56f768171c91 /Readme.md | |
parent | dc86473b80512a494cc33c9218726a8dabdd37b7 (diff) | |
download | mu-6d617e8b61036ed8f91d19adfd6fa57755485966.tar.gz |
5517
Diffstat (limited to 'Readme.md')
-rw-r--r-- | Readme.md | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Readme.md b/Readme.md index c9225d47..ac06c7c5 100644 --- a/Readme.md +++ b/Readme.md @@ -328,19 +328,18 @@ distinguish between code and data. Correspondingly, SubX programs consist of a series of segments, each starting with a header line: `==` followed by a name and approximate starting address. -All code must lie in a segment called 'code'. Execution begins at the start of -the `code` segment by default. +All code must lie in a segment called 'code'. -You can reuse segment names: +Segments can be added to. -``` -== code +```sh +== code 0x09000000 # first mention requires starting address ...A... -== data +== data 0x0a000000 ...B... -== code +== code # no address necessary when adding ...C... ``` |