flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Variable "parenthesis_stack" |
Author |
|
revolution 04 Oct 2009, 14:45
Can you please provide a short piece of code that demonstrates the problem.
|
|||
04 Oct 2009, 14:45 |
|
CandyMan 04 Oct 2009, 14:58
Example code
_________________ smaller is better Last edited by CandyMan on 23 Oct 2014, 15:27; edited 1 time in total |
|||
04 Oct 2009, 14:58 |
|
revolution 04 Oct 2009, 15:03
I am using a slightly older version and get this:
Code: flat assembler version 1.67.38 (100000 kilobytes memory) test.asm [1]: [bits 32] error: illegal instruction. |
|||
04 Oct 2009, 15:03 |
|
CandyMan 04 Oct 2009, 15:15
The mistake doesn't always appear.
Use UPX compressed FASMD/FASM under DOS. Can be version 1.68 or 1.69.7 |
|||
04 Oct 2009, 15:15 |
|
Tomasz Grysztar 04 Oct 2009, 16:07
I'm not able to reproduce the problem, is the UPX compression a requirement?
|
|||
04 Oct 2009, 16:07 |
|
CandyMan 04 Oct 2009, 16:20
The problem lies in the not-initiated variable "parenthesis_stack"
At first recompile fasm with parenthesis_stack dd -1 and later compile test.asm |
|||
04 Oct 2009, 16:20 |
|
Tomasz Grysztar 04 Oct 2009, 16:33
OK, got it.
Perhaps having it UPX-ed helped to make this area not zeroed at startup, and thus helped catching this bug. Thanks for the report. Release with fix is coming out in a few minutes. |
|||
04 Oct 2009, 16:33 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.