flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > eqtype eax or xmm ? |
Author |
|
Roman 18 Aug 2022, 10:41
I try this but error
Code: macro x_mov a,b { if a eqtype eax mov a,[b] else movss a,[b] end if } ;in code cerr dd 1.0,2.0,3.0 ; when i write err fasm write extra word used. What is mean ? x_mov eax,cerr x_mov xmm1,cerr ;fasm get error mov xmm1,[cerr] |
|||
18 Aug 2022, 10:41 |
|
macomics 18 Aug 2022, 10:57
2.2.5 Other directives wrote: The err directive immediately terminates the assembly process when it is encountered by assembler. Code: macro x_mov a,b { if a in <eax, ebx, ecx, edx, esp, ebp, esi, edi> mov a, [b] else if a in <xmm0, xmm1, xmm2. xmm3, xmm4, xmm5, xmm6, xmm7> movss a, [b] end if } |
|||
18 Aug 2022, 10:57 |
|
Roman 18 Aug 2022, 11:02
Thanks. Work perfect !
|
|||
18 Aug 2022, 11:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.