flat assembler
Message board for the users of flat assembler.
Index
> Windows > EQUATE expected |
Author |
|
dacid 28 Nov 2008, 18:15
LOCAL things[THREADS]:THING_INFO
I need to make this but with a variable ... how can be done? |
|||
28 Nov 2008, 18:15 |
|
revolution 29 Nov 2008, 01:41
Do you have some code to show what you are trying to do?
|
|||
29 Nov 2008, 01:41 |
|
revolution 29 Nov 2008, 09:38
dacid wrote: But i need to make THREADS a variable not a constant. Code: mov eax,[THREADS] imul eax,sizeof.THING_INFO sub esp,eax mov ebx,esp ;ebx is the address of the 'things' structure |
|||
29 Nov 2008, 09:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.