flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > [bug] listing tool segfault (from fasm 1.73.32) |
Author |
|
revolution 17 Jan 2024, 20:32
This temporary fix solves the above crash for that code. But might still need more work to fix it for all cases.
Code: diff LISTING.INC LISTING-proposed-fix.INC 168c168 < jz no_code_listing --- > jbe no_code_listing |
|||
17 Jan 2024, 20:32 |
|
dunkaist 05 Feb 2024, 01:06
Works for me, thank you!
Perhaps, I should learn how to get listings and symbols in fasmg and switch to it finally. |
|||
05 Feb 2024, 01:06 |
|
Tomasz Grysztar 27 Feb 2024, 10:57
dunkaist wrote: Works for me, thank you! But it should also be easy to try out for yourself. Get the latest fasm2 preview (from the Download page), launch fasmgw, open its own source code (source/ide/windows/fasmgw.asm) and add the line: Code: include 'listing.inc' |
|||
27 Feb 2024, 10:57 |
|
macomics 27 Feb 2024, 12:35
When trying to compile fasm2 from the sources for linux i386 and linux x86_64, I get this error.
Code: calculate@fasm2-2024-02-27/source/linux$ env INCLUDE="/home/macomics/fasm2-2024-02-27/include/;" fasmg fasmg.asm flat assembler version g.kcgn fasmg.asm [2] /home/macomics/fasm2-2024-02-27/include/macro/struct.inc [67]: asm err 'value too long to fit in ',field Processed: asm err 'value too long to fit in ',field Error: unexpected instruction. calculate@fasm2-2024-02-27/source/linux$ cd x64 calculate@fasm2-2024-02-27/source/linux/x64$ env INCLUDE="~/fasm2-2024-02-27/include/;" fasmg fasmg.asm flat assembler version g.kcgn Error: could not generate code within the allowed number of passes. fasmg.asm [14] /home/macomics/fasm2-2024-02-27/include/macro/struct.inc [67]: asm err 'value too long to fit in ',field Processed: asm err 'value too long to fit in ',field Error: unexpected instruction. ADD: It looks like it was necessary to add -iInclude\ \'fasm2\' Code: calculate@fasm2-2024-02-27/source/linux/x64$ env INCLUDE="~/fasm2-2024-02-27/include/;" fasmg -iInclude\ \'fasm2\' fasmg.asm flat assembler version g.kcgn 5 passes, 0.7 seconds, 70657 bytes. |
|||
27 Feb 2024, 12:35 |
|
Tomasz Grysztar 27 Feb 2024, 12:49
Read my previous post carefully, I mentioned that you're supposed to use the fasm2 script.
|
|||
27 Feb 2024, 12:49 |
|
macomics 27 Feb 2024, 13:34
Quote: Read my previous post carefully, I mentioned that you're supposed to use the fasm2 script. ADD: What about adding a startup option to fasmw/fasmgw 'run in the debugging program', which can be activated or deactivated to work by flag? At the same time, when the flag is set and F9 is pressed, the debugging program is started and the name of the program received after compilation is specified. It will need to add another string to the settings file with the path to the debugging program, and possibly a dialog box for configuring it, or add several fields to an existing dialog box. |
|||
27 Feb 2024, 13:34 |
|
Tomasz Grysztar 27 Feb 2024, 14:31
macomics wrote:
|
|||
27 Feb 2024, 14:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.