flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > invoke does not assemble in this context |
Author |
|
macomics 03 Oct 2024, 03:47
Code: $ cat test_invoke.asm use32 include 'WIN32A.INC' label PlaySound dword soundLoop: invoke PlaySound, ret $ fasm test_invoke.asm flat assembler version 1.73.32 (16384 kilobytes memory, x64) 2 passes, 7 bytes. $ hexdump -C test_invoke.bin 00000000 ff 15 00 00 00 00 c3 |.......| 00000007 ; ff 15 00 00 00 00 - call ; c3 - ret |
|||
03 Oct 2024, 03:47 |
|
revolution 03 Oct 2024, 04:20
edfed wrote: invoke doesn't assemble, only ret. |
|||
03 Oct 2024, 04:20 |
|
macomics 03 Oct 2024, 06:51
Try this
Code: ; fix_purge.asm macro fix_purge [args] { forward display `args, 13, 10 purge args } purge fix fix_purge Code: include 'fix_purge.asm' use32 include 'WIN32A.INC' label PlaySound dword soundLoop: invoke PlaySound, ret |
|||
03 Oct 2024, 06:51 |
|
edfed 05 Oct 2024, 00:43
good idea. but it doesn't show any purge of invoke.
i will try to get the mininal case of this "bug" |
|||
05 Oct 2024, 00:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.