Hello:)

How can i declare 128 bit variable??

.data
something ???ddq???doublequadword???bigvariable??? 0ffffffffffffff8888fffffff1234ff0h ?? (don't count - there is 32 of them ):grin:

greetings:)
Posted on 2003-05-20 07:39:12 by marcio
REAL4 0.0, 1.0, 2.0, 3.0 :)


...or...

DWORD 0FFFFFFFFh, 0FFFFFFFFh, 0FFFFFFFFh, 0FFFFFFFFh
MASM appears to use OWORD PTR, but it really doesn't work on my ML.EXE, iirc.
Posted on 2003-05-20 08:36:51 by bitRAKE
You can use QWORD this way

MyVar QWORD 0FFFFFFFFFFFFFFFFh,0FFFFFFFFFFFFFFFFh

There is no type for a 128 bit variable in MASM as there is no need for one that big. The biggest is 80 bits (TBYTE) that allows for 10 bytes of storage which is the width of the FP stack (real10). Since this is the largest "addressable" chunk of data, this is also the largest type you can have. There is nothing on an x86 that is ever 128 bits wide but in the case above you can pretend that there is, though there is no possible way to move that size of a data chunk in a single instruction.
Posted on 2003-05-20 09:43:42 by donkey
You cannot retrieve a 128-bit variable with any of the 32-bit instructions.

At this point, you are the only one who knows how such a variable would be used by your program and which instructions would be used to access its parts. If you don't share that knowledge, it's difficult to provide any significant guidance.

Raymond
Posted on 2003-05-20 09:46:06 by Raymond
thx ... i don't need that size of variable ... i was just curious:grin:

but thx again:)
Posted on 2003-05-20 11:56:55 by marcio