flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
afw2004
How can I declare array of structures as a local variable?
C example: void myfunc() { POINT x[8]; } How to write this in Fasm? |
|||
![]() |
|
Reverend
Code: myfunc: x POINT rb sizeof.POINT*7 |
|||
![]() |
|
vid
not quite... in this case he couldn't us "call myfunc". look here, chapter 1.3
|
|||
![]() |
|
afw2004
Thanks
![]() |
|||
![]() |
|
Tomasz Grysztar
You can do it this way:
Code: proc myfunc local x[8]:POINT ret endp see Win32 Headers documentation, section 1.3 - vid already linked it. |
|||
![]() |
|
vid
btw, Tomasz: please make anchors (not sure if it is the right word) in the text, so i can link like win32#1_3
|
|||
![]() |
|
Tomasz Grysztar
OK, it goes like http://flatassembler.net/docs.php?article=win32#1.3
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.