flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
shism2 21 Nov 2005, 00:22
struct au_string
len dw ? maxlen dw ? buff dd ? ENDS Why does this structure cause for me to get the out of memory error |
|||
![]() |
|
shism2 21 Nov 2005, 04:23
Im using the same version
Now it worked and I'm not sure why... This is what Im using struct au_string len dw ? maxlen dw ? buff dd ? ends mov esi,au_string It gives me mov esi,au_string error: undefined symbol. |
|||
![]() |
|
decard 21 Nov 2005, 05:24
that's because struct only declares "structure type", but not defines anything. It should be:
Code: struct AU_STRING len dw ? maxlen dw ? buff dd ? ends au_string AU_STRING ; define struct mov esi,au_string |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.