The MASM Forum

General => The Campus => Topic started by: DavidZiegler on December 14, 2012, 09:41:39 AM

Title: Hello everyone!
Post by: DavidZiegler on December 14, 2012, 09:41:39 AM
Hi!
I just started learning assembly. I found your awesome forum and signed up.
I know java (from school) but i'm completely new to assembly.
I'm reading The Art of Assembly by Rendell Hyde and another book by jeff haung.
can you give me any advice on how should i learn this properly

David Ziegler
Title: Re: Hello everyone!
Post by: CommonTater on December 14, 2012, 10:04:52 AM
Quote from: DavidZiegler on December 14, 2012, 09:41:39 AM
Hi!
I just started learning assembly. I found your awesome forum and signed up.
I know java (from school) but i'm completely new to assembly.
I'm reading The Art of Assembly by Rendell Hyde and another book by jeff haung.
can you give me any advice on how should i learn this properly

David Ziegler

Hi David...
I'm also a relative newbie in ASM ... Haven't even written my first program yet... But I've been programming for a pretty long time in C, Pascal and Basic, so, if that counts for anything....

I would strongly suggest you approach this as a totally new learning experience.  Don't try to compare it to Java, as many do when learning C or C++. It's a mistake there and it's a bigger mistake here. This is *different*, approach it as such. 

Make it a challenge and I'm betting you do just fine.
Title: Re: Hello everyone!
Post by: Vortex on December 14, 2012, 10:20:35 AM
Hi DavidZiegler,

Welcome to the forum.
Title: Re: Hello everyone!
Post by: dedndave on December 14, 2012, 10:27:44 AM
hi David
good first name - can't be all bad   :P

install the masm32 package, for starters
you will find links in the upper right corner of the forum page
read the installation page before installing
there are a lot of example programs, help files, and a couple tutorials

a lot of people get going with Iczelion's tutorial, but it could use a little update

welcome to the forum   :t
Title: Re: Hello everyone!
Post by: jj2007 on December 14, 2012, 01:56:36 PM
Quote from: DavidZiegler on December 14, 2012, 09:41:39 AM
can you give me any advice on how should i learn this properly

Hi David,
"by doing" would be my advice. Save this snippet as MyFirst.asm:

include \masm32\include\masm32rt.inc

.code
AppName   db "Masm32:", 0

start:   MsgBox 0, "Hello World", addr AppName, MB_OK
   exit

end start


Build & run it (qEditor is fine), clap your shoulder, and then download and install Olly (http://www.ollydbg.de/version2.html) to see what's going on under the hood. The F8 key will be your friend.

Once you are operational, go back to Randy's book and start experimenting with the opcodes mov, add, sub, mul, jmp, ...

\Masm32\help\* is also a fascinating folder full of surprises ;-)

Welcome to the forum :icon14:
Title: Re: Hello everyone!
Post by: Magnum on December 14, 2012, 11:59:01 PM
Welcome to our world where we try to make it "smaller and faster."

At some point you'll want this help file.

Windows API help file    win32api.zip

http://www.carabez.com/downloads.html

Andy
Title: Re: Hello everyone!
Post by: Gunther on December 15, 2012, 09:25:28 AM
Hi DavidZiegler,

welcome to the forum.  :t

Gunther
Title: Re: Hello everyone!
Post by: DavidZiegler on December 16, 2012, 05:51:35 AM
thanks everyone! i'm off to work  :t
Title: Re: Hello everyone!
Post by: Force on December 16, 2012, 07:56:57 AM
Iczelion's Tutorials

http://www.woodmann.com/RCE-CD-SITES/Iczelion/index.html   (http://www.woodmann.com/RCE-CD-SITES/Iczelion/index.html)