flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > fasm 2 as a set of scripts and headers for fasmgGoto page Previous 1, 2 |
| Author |
|
|
Tomasz Grysztar 20 Aug 2025, 19:11
vityacv wrote: Having issue with this sample on FASM 2 - Custom error: operand sizes do not match. If you'd prefer to not have this feature, comment out the portion of "instantiate" macro: Code: arrange tmp, =label instance; : sname.=__size__ |
|||
|
|
vityacv 04 Dec 2025, 17:24
Code: format binary use64 ret align 16 flat assembler version g.l04h 1 pass, 1 byte. Getting 1 byte output instead of 16, fasm 1 have same result. Also fasm 1 creates output file with .bin extension, should fasm 2 do the same? |
|||
|
|
Tomasz Grysztar 04 Dec 2025, 18:13
vityacv wrote: Getting 1 byte output instead of 16, fasm 1 have same result. But with fasm2 you can also do this: Code: align 16, 90h vityacv wrote: Also fasm 1 creates output file with .bin extension, should fasm 2 do the same? |
|||
|
|
vityacv 22 Apr 2026, 15:46
With this sample and triggering build without the 32.ico in folder
Code: format pe64 entry Main include 'win64w.inc' include 'encoding\utf8.inc' Main: ret align 8 test1 du '1111111111111111111111111111111',0 align 8 data fixups end data align 8 data resource directory RT_ICON,icons,RT_GROUP_ICON,group_icons resource icons,32,LANG_NEUTRAL,icon_32 resource group_icons,1,LANG_NEUTRAL,main_icon icon main_icon,icon_32,'32.ico' end data Getting: Quote: flat assembler version g.l4gs It also can freeze when executed multiple times. |
|||
|
|
bitRAKE 22 Apr 2026, 20:38
Code: > fasm2 -v 2 -e 5 vityacv.error.asm flat assembler version g.l2fx flat assembler version g.l5p0 vityacv.error.asm [23]: icon main_icon,icon_32,'32.ico' macro icon [4]: file icon_file:6,16 Processed: file '32.ico':6,16 Error: source file '32.ico' not found. vityacv.error.asm [23]: icon main_icon,icon_32,'32.ico' macro icon [9]: data#% file icon_file:position,size Processed: data#1 file '32.ico':position,size Error: source file '32.ico' not found. vityacv.error.asm [23]: icon main_icon,icon_32,'32.ico' macro icon [16]: file icon_file:6,12 Processed: file '32.ico':6,12 Error: source file '32.ico' not found. (Of course, it builds with icon file.) _________________ ¯\(°_o)/¯ AI may [not] have aided with the above reply. |
|||
|
|
Tomasz Grysztar 23 Apr 2026, 08:29
bitRAKE wrote: ... is what I'm getting with a couple versions. (Just updated?) In particular, if you've been testing both the new version (which clears the reserved block) and the old one, the old might have been reusing a zeroed block, masking the problem. |
|||
|
| Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.