From 6d617e8b61036ed8f91d19adfd6fa57755485966 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 15 Aug 2019 12:14:47 -0700 Subject: 5517 --- Readme.md | 13 ++++++------- 1 file 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... ``` -- cgit 1.4.1-2-gfad0