News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

SQWORD

Started by Ficko, June 22, 2010, 10:09:37 AM

Previous topic - Next topic

Ficko

I just found out that MASM (v10) understands "SQWORD" I don't know exactly what I can do with it but I think it wasn't allways that way. :P

MichaelW

6.14 and 6.15 do not recognize SQWORD.
eschew obfuscation

Ghandi

Just a stab in the dark, but could it be the same operations as a SBYTE, SWORD and SDWORD? What would really surprise me though, is if MASM supports a signed OWORD (SOWORD?) How does MASM treat these versions anyway? IE: How does it treat then differently to their 'normal' counterparts?

HR,
Ghandi

ecube

http://help.outlook.com/en-us/140/se68chye%28VS.80%29.aspx

jwasm supports it aswell, not sure exactly what you're asking but


.if sdword ptr eax>1   ;JLE
ret
.endif

.if eax>1   ;JBE
ret
.endif



thats what signed/unsigned dword comparison looks like

jj2007

Quote from: MichaelW on June 22, 2010, 10:44:10 AM
6.14 and 6.15 do not recognize SQWORD.

Workaround: Put these three lines somewhere at the top of your include statements.
ife opattr SQWORD
SQWORD equ QWORD
endif

These are not "true" SQWORDS in Masm 6.14 or 6.15, but in most situations it will prevent more recent code from choking with these old assembler versions.