about summary refs log tree commit diff stats
path: root/subx/apps/subx-common.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/apps/subx-common.subx')
-rw-r--r--subx/apps/subx-common.subx8
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