News:

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

Aitkens totorial goAsm vs mAsm

Started by vmars316, April 16, 2011, 10:31:26 PM

Previous topic - Next topic

vmars316

Greets,
I am chugging thru the Bill Aitken EasyCode Tutorial.
And i am running into GoAsm vs mAsm differences:
In the 'What is data' section
goAsm shows this:
MESSAGES DD WM_CREATE, OnCreate, WM_CLOSE, OnClose
Whereas mAsm shows:

winMainProcedure Proc hWnd:HWND, uMsg:ULONG, wParam:WPARAM, lParam:LPARAM
   .If uMsg == WM_CREATE
      
   .ElseIf uMsg == WM_COMMAND

   .ElseIf uMsg == WM_CLOSE
      Invoke IsModal, hWnd
      .If Eax
         Invoke EndModal, hWnd, IDCANCEL
         Return TRUE
      .EndIf
   .EndIf

My ? is "are there lots more diffs that would tend to throw me off"?
And would i be better off looking for a different Tutorial?
Or should i stay with this one?
Thanks...vmars316
.
All things in moderation, except for love and forgiveness...vmars316
.
www.QuickerThanASpark.com

Ramon Sala

The Go tools by Jeremy Gordon are an excellent set of tools for programming in assembly. Although you can program similar appllicactions with GoAsm and Masm, there are some differences between them. I think the most relevant one is that Masm uses "high level" instructions (.If, .ElseIf, .Else, .EndIf, .While, .EndW), while GoAsm does not (at the moment). Many users are asking for GoAsm to support high level instructions and I think Jeremy is working on that. On the other hand, the Bill Aitken's tutorials are really brilliant but unfortunately Bill has no time to dedicate to them, so I'm affraid there will not be more tutorials.

Although the high level instrcutions can be very practical, they are not part of the original assembly programming. I personally think it would be good to get used to work without high level instructions as the Masm compiler for Win64 (ml64.exe) does not include them.

Ramon
Greetings from Catalonia

vmars316

Greets,
I switched over to Icz_stuff for a while.
API is great, but i need to get more into asm itself.
So i am back here.
?1) Pls, What is a good forum for GoAsm/EasyCode support?
I have EC set up as follows:
C:\masm32\EasyCode.Ms
?2) How do I set up GoAsm?
Thanks...vmars
.
All things in moderation, except for love and forgiveness...vmars316
.
www.QuickerThanASpark.com

Ramon Sala

Hi vmars,

First of all download the ECGo.zip file at http://www.godevtool.com. Unzip the ECGo.zip file and place the resultant GoAsm folder wherever you like in your hard(s) disk(s), i.e C:\GoAsm. Now open Easy Code, click "Tools->Settings", then select the "Compile / Link" tab and enter the corresponding files and paths for GoAsm files.

Ramon
Greetings from Catalonia