flat assembler
Message board for the users of flat assembler.
Index
> Main > How many the max length in Fasm? |
Author |
|
macomics 23 Aug 2022, 10:10
After starting, fasm shows how much memory it has allocated for work
Code: flat assembler version 1.73.30 (10240 kilobytes memory) Everything should fit into this volume. That is, until you exceed the amount of memory, the names will work fine. Next, simple math: 2 * 8192 * 16 + 2 * 8192 * 7 + 3 * 8192 + 4 * 8192 + 8 * 8192 * 32 = 57344 + 131072 + 32768 + 2097152 = 2.414 Mb 8192 * 16 - new line 8192 * 3 - size, byte + string[2] = 'dd' directive 8192 * 7 - size, byte + string[6] = 'BuXXXX' label enumeration 8192 * 16 - new line 8192 * 7 - size, byte + string[6] = 'BuXXXX:' label definition 4 * 8192 - binary data 8 * 8192 * 32 - binary search tree This I counted approximately only the declaration of the LUT and all the labels listed in it. And: N * 8192 - cases Last edited by macomics on 23 Aug 2022, 10:30; edited 2 times in total |
|||
23 Aug 2022, 10:10 |
|
revolution 23 Aug 2022, 10:20
Code: ~ fasm x flat assembler version 1.73.08 (4030244 kilobytes memory) |
|||
23 Aug 2022, 10:20 |
|
revolution 24 Aug 2022, 01:33
I can get 1M labels in 407MB memory
Code: rept 1000000 x { z#x: } Code: ~ fasm -m 407000 test.asm flat assembler version 1.73.08 (407000 kilobytes memory) 1 passes, 3.3 seconds, 0 bytes. |
|||
24 Aug 2022, 01:33 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.