flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Irp and equ values |
Author |
|
Roman 24 Jul 2024, 10:29
Ok. I try do this.
Code: macro deEq nn,[pp] { forward nn equ pp } deEq eq_ops2,add,sub,do,init,get,set ;in main code rept 10 n:0 { lb#n: irpv e,eq_ops2 \{ if \e eq add add eax,9 ret end if if \e eq sub sub eax,9 ret end if \} } Ida Pro show 10 times add eax,9. But i expected one add eax,9 |
|||
24 Jul 2024, 10:29 |
|
revolution 24 Jul 2024, 17:07
Stage 1: Initialise eq_ops2.
Code: irp value, add,sub,do,init,get,set { eq_ops2 equ value } Code: irpv value, eq_ops2 { display `value,13,10 } |
|||
24 Jul 2024, 17:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.