Hi Jeremy,
Is there any equivalent to the data type XMMWORD in GoAsm ?
http://msdn.microsoft.com/en-us/library/cw0399sf.aspx
couldn't find it in the manual but thought it might have been added.
Edgar
Hi Edgar
Yes this is supported, but in GoAsm it has not been necessary to require a "data type" (such as "B", "W", "D" or "Q") to be specified by the programmer because the size of the data addressed by the processor is fixed and cannot be changed by the programmer.
The size of the data addressed depends on:-
(a) the mnemonic, and
(b) the first operand.
For example:-
PUNPCKLBW MMX,[MyData]
PACKSSDW MMX,[MyData]
PACKSSDW XMM,[MyData]
As specified in the processor's specifications, the first always references a 32 bit area of memory, the second always references a 64 bit area of memory and the third always references a 128 bit area of memory.
Hi Jeremy,
Thanks, makes sense, I was more concerned about the ordering of data in memory when using 128 bit data, whether it is big or little endian.
I see. No, GoAsm does not provide a facility for this, but you could declare the data using DQ twice in the correct order, or a DQ repeated by commas, or you could use a structure.
DT is the largest data declaration at 80 bits.