flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > PROC (bug?) |
Author |
|
LocoDelAssembly 24 Apr 2011, 00:11
Take a look at http://board.flatassembler.net/topic.php?t=12790
If you replace all "xx" occurrences with "2" it becomes more obvious the relationship with the link above. |
|||
24 Apr 2011, 00:11 |
|
ouadji 24 Apr 2011, 00:30
ok, understood (tks Loco) indeed, this below does compile Code: include 'win32a.inc' ;xx equ 2 stdcall toto,eax proc toto 2:dword mov ebx,[2] endp |
|||
24 Apr 2011, 00:30 |
|
LocoDelAssembly 24 Apr 2011, 15:42
If the preprocessor is supposedly correct in the treatment of numbers then a fix could be modifying PROC to make it declare an assembly-time variable with the name of the parameter suffixed with some local symbol. I think that should be enough to restrict the valid names to the ones the assembler stage accepts as name symbols.
|
|||
24 Apr 2011, 15:42 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.