diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-21 10:06:17 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-21 10:06:17 -0700 |
commit | 8998908e63c1231ac8b83232623ab8c6d77fe9d1 (patch) | |
tree | 5e29cc09207b1b6369738244c7c413add13d7c08 /subx/011run.cc | |
parent | 0b58cf9b158874f320bb7d5707dc7758ad88dea8 (diff) | |
download | mu-8998908e63c1231ac8b83232623ab8c6d77fe9d1.tar.gz |
4565
Diffstat (limited to 'subx/011run.cc')
-rw-r--r-- | subx/011run.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subx/011run.cc b/subx/011run.cc index e8c7c4a6..2549ae04 100644 --- a/subx/011run.cc +++ b/subx/011run.cc @@ -48,7 +48,10 @@ cerr << " syntax\n"; # As you can see, comments start with '#' and are ignored. # Segment headers start with '==', specifying the hex address where they -# begin. The first segment is always assumed to be code. +# begin. There's usually one code segment and one data segment. We assume the +# code segment always comes first. Later when we emit ELF binaries we'll add +# directives for the operating system to ensure that the code segment can't be +# written to, and the data segment can't be executed as code. == 0x1 # We don't show it here, but all lines can have metadata after a ':'. |