Author Topic: I want Sample codes or tutorials for NASM !  (Read 7486 times)

nobody

  • Guest
I want Sample codes or tutorials for NASM !
« on: September 19, 2009, 01:08:58 AM »
Is there any sample codes or tutorials for NASM on the internet?

"Just a window" or "a window with a dialog box" , or things like that
will be fine.
http://www.nasm.us/doc/  is too complicated for me.

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: I want Sample codes or tutorials for NASM !
« Reply #1 on: September 23, 2009, 03:54:46 AM »
I think I'd recommend downloading the "NASMX" package from Keith Kanios and Bryant Keller:

http://www.asmcommunity.net/projects/nasmx/

Not a "tutorial", but it has lots of examples that should lead you into it. (at least the old "NASM32" package did - I can't see what's in the current (expletive deleted) .exe file)

Dr. Paul Carter's tut:

http://www.drpaulcarter.com/pcasm

Is good, but it "doesn't do Windows" like you want. It might be useful if you need an "introduction to assembly" before the "introduction to Windows".


You may have heard of the "Iczelion Tutorials":

http://win32assembly.online.fr/tutorials.html

The example source code (not the text) has been translated into Nasm syntax - not once but twice (at least). This is available here as:

https://sourceforge.net/projects/nasm/files/example%20code/yahoowin/yahoowin.zip/download

Unfortunately, this is a 16MB "code blob". You'll have to unzip the examples - "highenergy" has got 'em in .rar, "yeohhs" in .zip (along with "non-Iczelion" examples).  Lots of good examples there, but not very well organized, you'll have to poke around in it to find what you want. Its just a "scrape" of the Yahoo "win32-nasm-users" groups "files" section. You could join that group and download 'em individually, if the size of "blob" is a problem. We need some Windows user (lets me out) to go through this mess and sort out the "good stuff"... possibly fix it up to use "-f win32" - most of it seems to be "-f obj", and "index" it somehow...

Meanwhile, I'd start with NASMX and delve into "yahoowin" if you need more examples.

Best,
Frank

nobody

  • Guest
Re: I want Sample codes or tutorials for NASM !
« Reply #2 on: September 25, 2009, 02:02:15 AM »
Thanks, Frank.
I'll look into it.

Thank you very much.