flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > dd is a macro ? |
Author |
|
Roman 29 Dec 2022, 11:14
I try:
Code: Hero dd 0,0,0,0 HeroStatus db 0,0,0,0 HeroFun1 dq Hero,procHero macro InitHero v,a { if v eqtype dq mov eax,dword [v] mov ebx,a call dword [v+8] display 'ok;;' end if mov dword [v],a } ;but not work ! Why ? InitHero Hero,5 InitHero HeroFun1,HeroStatus ;,macro not do call ! |
|||
29 Dec 2022, 11:14 |
|
Overclick 23 Jan 2023, 07:31
Try to use struc for that
|
|||
23 Jan 2023, 07:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.