flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
Tomasz Grysztar 16 Jun 2005, 11:22
Few other small corrections today, I recommend downloading.
|
|||
![]() |
|
revolution 16 Jun 2005, 13:52
Oops, I just downloaded and tried the "new" 1.62 of 16-june:
Code: x equ dqword include 'C:\ASSEMBLE\FASM\INCLUDE\MACRO\STRUCT.INC' include 'C:\ASSEMBLE\FASM\INCLUDE\EQUATES\USER32.INC' .bar POINT mov eax,[.bar.x] ;<--- error: undefined symbol. Should I be RESTOREing X before including 'user32.inc'? Code: x equ dqword include 'C:\ASSEMBLE\FASM\INCLUDE\MACRO\STRUCT.INC' restore x include 'C:\ASSEMBLE\FASM\INCLUDE\EQUATES\USER32.INC' x equ dqword .bar POINT mov eax,[.bar.x] |
|||
![]() |
|
Tomasz Grysztar 16 Jun 2005, 14:08
It's possible to make "struct" immune to this particular problem, but I'm not sure whether I really should complicate the macros just for such purpose - the equates like that will anyway cause problems anywhere where you need to use the "x" with some other meaning.
The new "struct" macro is vulnerable to any "equ" definitions just as if it was the regular data definition, for example: Code: x equ alpha dd equ dw ? equ 7 dup (0) struct POINT x dd ? y dd ? ends will define structure with "alpha dw 7 dup (0)" and "y dw 7 dup (0)" fields. Well, so it behaves a bit like if it was built-in directive of the assembler. |
|||
![]() |
|
FrozenKnight 24 Jun 2005, 23:35
I dont know if anyone else is having this problem but i thought i should mention it. the new 1.62 version wont assemble any of the windows programs i have. it reports 2 errors one in KERNEL32.INC and the other in STRUCT.INC and the command it stops on is "name name" untill this is fixed i'll have to stick with 1.61.3
|
|||
![]() |
|
Tomasz Grysztar 25 Jun 2005, 09:54
Please read this carefully: http://board.flatassembler.net/topic.php?t=3592
The macros that used FIX feature the wrong way may need to be fixed - see the STDCALL.INC posted above, it contains the old macros updated to work with fasm 1.62. |
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.