Joined: 24 Aug 2004
Location: Misner space
fasm does not guarantee to find all solutions.
IIRC the general solution would require on the order of O(2^N) iterations to solve. The algorithm fasm uses does not try all possibilities, it uses short cuts and assumptions. Otherwise for more complex code fasm might never find a solution within the lifetime of the universe.
It makes "66 passes". I tested and got that there's at most 100 passes. Can I modify it in fasmw?
In the command line you can also include -m option followed by a number, which
specifies how many kilobytes of memory flat assembler should maximally use. In case
of DOS version this options limits only the usage of extended memory. The -p option
followed by a number can be used to specify the limit for number of passes the assembler
performs. If code cannot be generated within specified amount of passes, the assembly
will be terminated with an error message. The maximum value of this setting is 65536,
while the default limit, used when no such option is included in command line, is 100.
It is also possible to limit the number of passes the assembler performs,
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum