News:

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

Odd (from a newbie's point of view) error message

Started by axtens, April 12, 2007, 08:52:01 AM

Previous topic - Next topic

axtens

Error message:
C:\masm32\projects\UTFConvert\convert.asm(81) : error A2206: missing operator in expression

Code:
offsetsFromUTF8         DWORD    0x00000000, 0x00003080, 0x000E2080, 0x03C82080, 0xFA082080, 0x82082080

I can't figure this out.

Kind regards,
Bruce.

axtens

And the answer to my own question is, "use the right markup for hexadecimal values"

offsetsFromUTF8         DD 00000000h, 00003080h, 000E2080h, 03C82080h, 0FA082080h, 82082080h

boogara

Quote from: axtens on April 12, 2007, 09:24:49 AM
And the answer to my own question is, "use the right markup for hexadecimal values"

offsetsFromUTF8         DD 00000000h, 00003080h, 000E2080h, 03C82080h, 0FA082080h, 82082080h
Actually, hex can be expressed in either 0x... or ...h, but by default I don't think MASM knows what a DWORD is.

GregL

boogara,

Quote... but by default I don't think MASM knows what a DWORD is.

Where did you get that idea?


boogara

Edit

I take back what I said...I had a brain fart T_T  But, I was wrong...just didn't realize it until now.

GregL

boogara,

No problem, just wanted to clear that up.

Cheers