Can someone point me to INC files for the GoAsm assembler?

Atleast the GoAsm equivalent of Windows.inc would be great as
I've had extreme failure in trying to convert the (rather large) file,
that comes with MASM32, to GoAsm syntax.


Thanks,
- Mike
Posted on 2003-03-09 20:41:05 by ASMMike
What does the syntax for declaring equates and structures with GoAsm look like?
Posted on 2003-03-09 22:31:31 by Odyssey
Basically the same as MASM except that
macros are totally different and GoAsm really
hates some of the structures for some reason.

I guess I'll just recode the structures that I'm most
likely to use and all the EQUs as those are the same
as MASM.
Posted on 2003-03-10 18:51:21 by ASMMike
Interesting choice of assembler. Why did you choose to use GoAsm?
Posted on 2003-03-10 19:05:59 by Odyssey
Well... for a few reasons,

1. MASM's syntax is alittle bulky for my taste.
2. You can use strings right in INVOKE and the assembler
will put them in the data for you.
3. You can use whatever DLL routines you want and the linker (GoLink)
will check the DLL names you pass for the right imports (or LIB files).
4. I just like it and it suits me (probably my best reason here).
5. I had trouble creating LIBs and DLLs with MASM, and the Go tools made it
so much easier.

There are some things I don't like about it though:

1. No .IFs, .WHILEs and things of that sort
2. A '>' required on forward jumps (not terrible and you could say
that it actually helps remind you to put in the label that you reference)
3. '[]' needed to get the value of data (data items name should do it, and as for getting the
address, that's what 'offset' and 'addr' should be for)

So to sum up, GoAsm isn't the best, but it's the one I liked the most. I've tried most
assemblers (I actively dislike NASM and FASM, NASM I do use for DOS when not using A86), MASM
and GoAsm are the only ones I ever use for 32bit ASM.

But that's just my opinion,
- Mike

PS: GoAsm and GoLink are great when you need to use a DLL and don't have a LIB for it
and just want to go ahead and call routines. I was pleasantly surprised when I just downloaded
GTK, dumped the DLL with dumpbin.exe, coded a window with a button, assembled with GoAsm,
linked with GoLink, and it ran perfect first try.

wow, that's one of the longest posts I've ever written on a board...
Posted on 2003-03-10 19:27:14 by ASMMike
You like it. That's a good enough reason. By the way, the last time I checked it was a shareware assembler has that changed?
Posted on 2003-03-10 19:41:11 by Odyssey
Judging from the text next to the download on www.godevtool.com:

Assembler - A free assembler (GoAsm.exe), which produces COFF object files ready to be given to a linker to create the final executable. My aim here has been to make an assembler with clean and obvious syntax, which is very quick, and which always tries to produce the smallest code. GoAsm also has some useful extensions to make programming for Windows easier.

I guess so.
Posted on 2003-03-10 19:43:44 by ASMMike
Hi, my first post.

I too use GoAsm at the moment, although I am not sure whether I will continue or not. I do like it's syntax and simplicity, but am tempted by FASM. However, I find GoAsm so much easier to work with. (I too dislike the > for forward jumps.)

I would be interested in your ide if I didn't have to download 20mb. :(

Anyway, here are the include files I use. I stole them from somewhere (I think maybe from MASM32, maybe from NASM) and adapted them with Jeremy Gordon's adaptasm tool.

(Sorry I cannot give proper credit, as I am no longer sure where they came from, but it was some freeware. My apologies to the author.)

Greg
Posted on 2003-03-12 08:37:06 by bushpilot
Welcome to the board..
Posted on 2003-03-12 08:44:44 by Odyssey