diff options
Diffstat (limited to 'subx/apps/subx-common.subx')
-rw-r--r-- | subx/apps/subx-common.subx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/subx/apps/subx-common.subx b/subx/apps/subx-common.subx index e3af9381..a5d8b037 100644 --- a/subx/apps/subx-common.subx +++ b/subx/apps/subx-common.subx @@ -1,5 +1,20 @@ # some common helpers shared by phases of the SubX converter +# - buffer sizes shared by all phases +== data + +# maximum memory available for allocation +Heap-size: + 0x100000/imm32/1MB + +# maximum size of a single segment +Segment-size: + 0x8000/imm32/32KB + +# maximum size of input textual stream (spanning all segments) +Input-size: + 0x10000/imm32/64KB # should be enough for everyone + == code # instruction effective address register displacement immediate # . op subop mod rm32 base index scale r32 |