Hello Vortex,
Or directly like this
sample STRUCT 16
x OWORD ?
y OWORD ?
z OWORD ?
sample ENDS
In this case the structure address will have to be aligned on a multiple of 16
As we don't touch to the prolog I declare a Tmp variable
LOCAL TMP[256]:Byte
LEA RAX,TMP
AND RAX,NOT 15
MOV PtrStructure,RAX
What Do you think?
If the stack is aligned by 4 bytes, declare a dummy variable
LOCAL Dummy[16]:BYTE
LOCAL MyStruct:STRUCTURE
One thing I don't understand is if I had six strings I must repeat it for each string.
Philippe