diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-22 01:25:33 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-22 01:25:33 -0700 |
commit | 37cf4e0581b586f0b28ab96876f43794323d4b60 (patch) | |
tree | 01b59189d287598ed0488bc9b0141cb0d1d6d960 /subx/apps/subx-common.subx | |
parent | f2d63490706bb042ccc5f99104b17c380246cb93 (diff) | |
download | mu-37cf4e0581b586f0b28ab96876f43794323d4b60.tar.gz |
5443 - standard library is now self-hosted
Translates 5k lines of input in 26 seconds. I'm not sure why I need to grow the label table. It was already 512 entries long, and I'm only using 373 so far.
Diffstat (limited to 'subx/apps/subx-common.subx')
-rw-r--r-- | subx/apps/subx-common.subx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/subx/apps/subx-common.subx b/subx/apps/subx-common.subx index 413edc9a..27f488c9 100644 --- a/subx/apps/subx-common.subx +++ b/subx/apps/subx-common.subx @@ -1,6 +1,6 @@ -# some common helpers shared by phases of the SubX converter +# common helpers shared by phases of the SubX translator -# - buffer sizes shared by all phases +# - some limits on the programs we can translate == data # maximum memory available for allocation @@ -15,6 +15,10 @@ Segment-size: Input-size: 0x80000/imm32/512KB +# maximum size of the 'labels' table in survey.subx +Max-labels: + 0x4000/imm32/1K-labels/16KB + == code # instruction effective address register displacement immediate # . op subop mod rm32 base index scale r32 |