News:

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

data type limits

Started by donkey, January 03, 2009, 07:42:26 PM

Previous topic - Next topic

donkey

Hi Ketil,

I'm updating GoAsm.ini to default to my headers as well as exploit more of its features and I am running into what I think are built in limits to the [code] section. I want to have it recognize all of the declaration types and use the following...

Data={C},$ db,$ dw,$ dd,$ dq,$ dus

However whatever I place last in the order is not recognized.

Also I would like it to recognize both $ FRAME,ENDF and $ USES,ENDU as valid procedure blocks, I tried this...

Code=endf,$ frame,endu,$ uses

However it does not recognize the following as a valid procedure unless I take out the ":", unfortunately it is required.
closefile: USES edx
cmp D[MapFileOffset],INVALID_HANDLE_VALUE
je >
invoke UnmapViewOfFile,[MapFileOffset]
:
cmp D[hMapFile],INVALID_HANDLE_VALUE
je >
invoke CloseHandle,[hMapFile]
:
cmp D[hFile],INVALID_HANDLE_VALUE
je >
invoke CloseHandle,[hFile]
:
ret
ENDU


I am using version 2.2.1.2, might be an old one.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

KetilO

Hi Edgar

Quote
Data={C},$ db,$ dw,$ dd,$ dq,$ dus
I will have a look at it.

Code=endf,$ frame
Code2=endu,$ uses

Should work unless the : (label) creates trouble.


donkey

Hi Ketil,

Yeah, the : is the problem. Perhaps Jeremy can take a look at an alternative for it.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable