about summary refs log tree commit diff stats
path: root/subx/Readme.md
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-02-16 23:59:46 -0800
committerKartik Agaram <vc@akkartik.com>2019-02-16 23:59:46 -0800
commita6079569ccc993ee456d5206867ef60b1d556453 (patch)
treea47d868baaf584d3f2b0fa952faf45070f72157f /subx/Readme.md
parentde2990880ab7ac98db79747a2eaedc3442fd4afc (diff)
downloadmu-a6079569ccc993ee456d5206867ef60b1d556453.tar.gz
4977
Diffstat (limited to 'subx/Readme.md')
-rw-r--r--subx/Readme.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index 404f4dc6..f95be08b 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -294,10 +294,14 @@ You can reuse segment names:
 ```
 
 The code segment now contains the instructions of `A` as well as `C`. `C`
-comes _before_ `A`. This order allows me to split SubX programs between
-multiple _layers_. A program built with just layer 1 would start executing at
-layer 1's first instruction, while one built with layer 1 and layer 2 (in that
-order) would start executing at layer 2's first instruction.
+comes _before_ `A`. (Why this order? I'd like to organize SubX programs into
+sequences of [_layers_](http://akkartik.name/post/wart-layers) that permit
+incrementally building a subset of layers into a working program with a subset
+of functionality. This organization requires, among other things, letting each
+layer control the code that runs when the binary starts up. Letting each layer
+override the starting address would require additional syntax. Instead, I
+choose to always begin execution at the start of the code segment, but allow
+layers to prepend to segments.)
 
 Within the code segment, each line contains a comment, label or instruction.
 Comments start with a `#` and are ignored. Labels should always be the first