Is it possible to define a structure member as a structure by itself?
I mean something like this:
I couldn't find anything regarding this neither in nasm's documentation nor google.
Also how about nested unions (nested within structure and not within another union), is there any painless ay to define them?
I mean something like this:
struc tests
.zbvx resd 1
.xzbxz resd 1
endstruc
struc reger
.dfsgfds tests
.dgfdsg resb 1
endstruc
I couldn't find anything regarding this neither in nasm's documentation nor google.
Also how about nested unions (nested within structure and not within another union), is there any painless ay to define them?
Oups, never mind.
I don't need this anymore 8)
I don't need this anymore 8)
I know you probably solved your own question, but I'll leave this up for search purposes.
Example from WINDOWS.INC in the NASM32 package...
Example from WINDOWS.INC in the NASM32 package...
STRUC POINT
.x RESD 1
.y RESD 1
ENDSTRUC
...
STRUC MSG
.hwnd RESD 1
.message RESD 1
.wParam RESD 1
.lParam RESD 1
.time RESD 1
.pt RESB POINT_size
ENDSTRUC