News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Hello everyone!

Started by DavidZiegler, December 14, 2012, 09:41:39 AM

Previous topic - Next topic

DavidZiegler

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

CommonTater

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.

Vortex

Hi DavidZiegler,

Welcome to the forum.

dedndave

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

jj2007

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 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:

Magnum

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
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Gunther

Hi DavidZiegler,

welcome to the forum.  :t

Gunther
You have to know the facts before you can distort them.

DavidZiegler

thanks everyone! i'm off to work  :t