flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [fixed] fastcall macro issue |
Author |
|
revolution 27 Jul 2023, 12:14
Code: use64 include 'win64a.inc' fastcall 0,dword[rax+r8] Code: flat assembler version 1.73.31 (16384 kilobytes memory) test.asm [3]: fastcall 0,dword[rax+r8] <path>/proc64.inc [130] fastcall [122]: mov cl,param <path>/proc64.inc [130] match [74]: mov cl,param processed: mov cl,dword[rax+r8] error: operand sizes do not match. |
|||
27 Jul 2023, 12:14 |
|
Tomasz Grysztar 27 Jul 2023, 12:31
The same source does assemble correctly with fasm2 (which uses the "fastcall" macro from the basic fasm compatibility package for fasmg). It is a bug in the old macro.
|
|||
27 Jul 2023, 12:31 |
|
Tomasz Grysztar 27 Jul 2023, 12:37
Changing the line 76 of PROC64.INC:
Code: if opcode = 67h | opcode = 41h Code: if opcode = 67h | opcode = 41h | opcode = 42h |
|||
27 Jul 2023, 12:37 |
|
murder 27 Jul 2023, 12:45
WOW! You fixed it so fast! thanks a lot.
|
|||
27 Jul 2023, 12:45 |
|
Tomasz Grysztar 27 Jul 2023, 12:56
I updated the package with an extended fix:
Code: if opcode = 67h | ( opcode > 40h & opcode < 48h ) |
|||
27 Jul 2023, 12:56 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.