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.
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.
Hi Ketil,
Yeah, the : is the problem. Perhaps Jeremy can take a look at an alternative for it.