flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
Can you give sample code for us to assemble and test?
|
|||
![]() |
|
rugxulo
This is not code specific, it's seemingly getting confused about perfectly valid code that used to assemble with no errors. But now it's giving false errors, even in the simplest of macros, even in the simplest of data definitions (dw or dd). I don't know what else to tell you, it's a regression.
|
|||
![]() |
|
revolution
Can you show some "perfectly valid code" that it gets "confused about". Your error report is very vague.
AFAICT no one else is seeing a problem. |
|||
![]() |
|
Tomasz Grysztar
revolution wrote:
|
|||
![]() |
|
rugxulo
Sorry, I'm even more disorganized these days, and I also don't have any obvious code to test.
But here's an example: Code: [ FreeDOS ] G:\TONY>fasm d2x.asm flat assembler version 1.71.57 (2734325 kilobytes memory) 2 passes, 169 bytes. [ FreeDOS ] G:\TONY>d2x 20816 00005150 [ FreeDOS ] G:\TONY>fasm inv-fasm.asm flat assembler version 1.71.57 (2734325 kilobytes memory) 4 passes, 9194 bytes. [ FreeDOS ] G:\TONY>fasm fas17158\source\win32\fasm.asm fasmw32.exe flat assembler version 1.71.57 (2734325 kilobytes memory) 5 passes, 113664 bytes. [ FreeDOS ] G:\TONY>pestub -q -n fasmw32.exe [ FreeDOS ] G:\TONY>fasmw32 d2x.asm flat assembler version 1.71.58 (2097152 kilobytes memory) 2 passes, 169 bytes. [ FreeDOS ] G:\TONY>d2x 20816 00005150 [ FreeDOS ] G:\TONY>fasmw32 inv-fasm.asm flat assembler version 1.71.58 (2097152 kilobytes memory) 4 passes, 9194 bytes. [ FreeDOS ] G:\TONY>stubit fasmw32.exe >nul [ FreeDOS ] G:\TONY>fasmw32 d2x.asm flat assembler version 1.71.58 (1048464 kilobytes memory) 2 passes, 169 bytes. [ FreeDOS ] G:\TONY>d2x 20816 00005150 [ FreeDOS ] G:\TONY>fasmw32 inv-fasm.asm flat assembler version 1.71.58 (1048464 kilobytes memory) 4 passes, 9194 bytes. [ FreeDOS ] G:\TONY>FAS17158\fasm d2x.asm flat assembler version 1.71.58 (2734325 kilobytes memory) d2x.asm [22]: macro MUL10 { error: invalid macro arguments. [ FreeDOS ] G:\TONY>FAS17158\fasm inv-fasm.asm flat assembler version 1.71.58 (2734325 kilobytes memory) inv-fasm.asm [492]: LetterCounter DW 0 processed: LetterCounter DW 0 error: invalid size of operand. |
|||
![]() |
|
Tomasz Grysztar
I think I know what caused these problems. I'm going to make some additional tests on my DOS machine and the I'll upload the fix.
|
|||
![]() |
|
Tomasz Grysztar
I think it should be fixed in 1.71.59. Please try it out.
|
|||
![]() |
|
comrade
What was the problem?
|
|||
![]() |
|
rugxulo
Tomasz Grysztar wrote: I think it should be fixed in 1.71.59. Please try it out. Yes, seems to work fine now. Thanks. |
|||
![]() |
|
Tomasz Grysztar
comrade wrote: What was the problem? |
|||
![]() |
|
revolution
But why the unpredictable behaviour? Wouldn't it always still follow the same execution path?
|
|||
![]() |
|
Tomasz Grysztar
It would always land in the same place in code, but the data pointed to by registers could differ, so I guess that's where the unpredictability came from.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.