flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Fasmg can do this ? |
| Author |
|
|
bitRAKE 14 May 2026, 09:42
Your task is under specified, but the rough version is possible with calminstructions.
fasmg's operands resolution are calminstructions. _________________ ¯\(°_o)/¯ AI may [not] have aided with the above reply. |
|||
|
|
bitRAKE 14 May 2026, 14:20
Code: ; TODO: Need to build the aa_regs symbol based on prior instructions. ; There are many ways to intercept destination operands, instructions, lines, etc. macro aa count* ; assign local register values match R0=,R1=,R2=,R3=,R4,aa_regs ; output desired instructions iterate command,\ <inc R0>,\ <dec R1>,\ <add R2,R1> display `command,10 if % = count break end if end iterate else err 'aa_regs form invalid' end match end macro define aa_regs eax,ebx,ecx,edx,ebp ; register MRU aa 2 define aa_regs esi,edi,ebp,eax,r9d ; register MRU aa 3 |
|||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.