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.
And the answer to my own question is, "use the right markup for hexadecimal values"
offsetsFromUTF8 DD 00000000h, 00003080h, 000E2080h, 03C82080h, 0FA082080h, 82082080h
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.
boogara,
Quote... but by default I don't think MASM knows what a DWORD is.
Where did you get that idea?
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.
boogara,
No problem, just wanted to clear that up.
Cheers