The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: stk on February 09, 2007, 04:22:42 PM

Title: Assembler Book?
Post by: stk on February 09, 2007, 04:22:42 PM
Hi,

what is the best book for a newby to learn assembly programming,
which the experts in this forum can recommend?
(for masm32 please)

Thank you.

regards,
stk
Title: Re: Assembler Book?
Post by: joerbanno on February 09, 2007, 04:39:30 PM
I don't know any book (that's in print), I got an old copy of Assembly language programming for the 80386.
But I've heard the Arto of Assemmbly language is quite good, and what's more it is available online:
http://webster.cs.ucr.edu/ :U
Title: Re: Assembler Book?
Post by: stk on February 09, 2007, 04:45:14 PM
Hi,

i have downloaded the book today, but not opend so far because i heard
this is only useable with the HLA assembler on this site.


stk
Title: Re: Assembler Book?
Post by: MaynardG_Krebs on February 10, 2007, 10:44:54 PM
The Art of Assembly is geared towards using HLA, but it teaches alot of the fundamental concepts which can be used with any assembler.
If you want to open your wallet try http://kipirvine.com/asm/
Title: Re: Assembler Book?
Post by: James Ladd on February 10, 2007, 10:45:18 PM
There are a couple of books out there but they dont all target MASM because this reduces the market
they can reach. I have a good selection of links to assembler books on my blog
here:  http://jamesladdcode.com/?cat=16

Specifically: Professional Assembly Language, Richard Blum

I hope this helps.
Title: Re: Assembler Book?
Post by: stk on February 11, 2007, 05:16:31 PM
Hi,

thanks to all for the links :U, i've read the reviews at Amazon.com and
i'll buy this book (Kip Irvine), although it's pretty expensive.

regards,
stk
Title: Re: Assembler Book?
Post by: James Ladd on February 11, 2007, 09:05:15 PM
Try someone like biblioz.com.au for a second hand copy. They are a lot cheaper and save trees.
Title: Re: Assembler Book?
Post by: redskull on February 12, 2007, 12:24:48 AM
IMHO, the peter norton book is yet to be matched (albiet a little outdated).  It can be bought from amazon for less than the change in your cars ashtray.

ISBN 0-13-661901-0
Title: Re: Assembler Book?
Post by: GregL on February 12, 2007, 03:24:47 AM
stk,

Quote... i've read the reviews at Amazon.com and
i'll buy this book (Kip Irvine), although it's pretty expensive.

That is a good one, worth it in my opinion.



Title: Re: Assembler Book?
Post by: hutch-- on February 12, 2007, 04:00:26 AM
I hate to rain on the parade but I am of the view that most assembler books are out of date junk that you waste your money on. Get Randy Hyde's stuff for background information then go straight to the source, the Intel manuals to get into the real stuff. With 32 bit Windows assembler, you will also need to get an API reference so you can interact wih the operating system.
Title: Re: Assembler Book?
Post by: stk on February 12, 2007, 04:44:52 PM
Hi,

yesterday i've sent an e-mail to Kip Irvine, he said that his book is not recommendable
for newbys.

He said this book is the best choice for beginners:
http://www.amazon.com/Assembly-Language-Step-step-Programming/dp/0471375233

regards,
stk
Title: Re: Assembler Book?
Post by: GregL on February 12, 2007, 08:00:36 PM
stk,

That book, Assembly Language Step-By-Step, targets DOS and Linux, not Windows. I wouldn't buy it for that reason.

As Hutch said the Intel Manuals are great, and free.

By the way, the Irvine book is up to date, it targets 32-bit Windows. It just came out in a fifth edition. I think it's fine for beginners. It is awful expensive though. It's a college course book and they really gouge those college students for books.

Title: Re: Assembler Book?
Post by: Vortex on February 12, 2007, 08:04:01 PM
stk,

You would like to download Iczelion's Win32asm tutorial set, it's one of the best sources to learn asm.
Title: Re: Assembler Book?
Post by: stk on February 12, 2007, 08:25:50 PM
Vortex,

done.

stk
Title: Re: Assembler Book?
Post by: James Ladd on February 12, 2007, 09:03:43 PM
If your here then http://www.amazon.com/Assembly-Language-Step-step-Programming/dp/0471375233 probably isn't for you
since it's very old and deals mainly with DOS.

I think that hutch has a point but there is a gap between no ASM experience and being able to read the Intel manuals and make
sense of them and use them. In between these points I'd still recommend Professional Assembly Language, by Richard Blum or
Randy Hyde's stuff. Richards book shows stuff for linux and it has AT&T syntax, but it covers a lot of the basics.

Richards book also mentions Hutch so it be all that bad :)

Title: Re: Assembler Book?
Post by: stk on February 12, 2007, 09:17:53 PM
Hi,

it's a mess.

Someone said Iczelions is the best, another said this has it's attention mainly on using WinAPI
with assembler and you could not learn assembler with that, the next said to learn assembly
you must start with MS-DOS.

The best is i learn all that stuff at the same time.

Thank you.

regards,
stk
Title: Re: Assembler Book?
Post by: Jimg on February 12, 2007, 09:26:40 PM
Take a look at this tutorial-http://www.drpaulcarter.com/pcasm/
Title: Re: Assembler Book?
Post by: joerbanno on February 13, 2007, 12:05:50 PM
Quote from: stk on February 12, 2007, 09:17:53 PM
Hi,

it's a mess.

Someone said Iczelions is the best, another said this has it's attention mainly on using WinAPI
with assembler and you could not learn assembler with that, the next said to learn assembly
you must start with MS-DOS.

The best is i learn all that stuff at the same time.

Thank you.

regards,
stk

Well Iczelions tutorial is outstanding for someone who has already knows some assembly, and wants to learn how to program windows with assembly.
But there is little info about the general assembly language operators/registers and such.
So I would start off with the Art of Assembly, till you got an understanding what basic assembly is about, and then move on to Iczelions tutorials.

Title: Re: Assembler Book?
Post by: dsouza123 on February 13, 2007, 01:09:18 PM
The very informative and usefull help files that come with MASM32,
are easily accessed from the Help menu in the feature packed Quick Editor. 

They include:
ASM Intro Help (Introduction to Assembler)
Opcodes Help (Intel Opcodes and Mnemonics)
FP Opcodes Help (Floating Point Help)
MASM32 Help (MASM Reference)

Windows assembly has much better support in terms of Assemblers, at least half a dozen,
and active development and resources, at least half a dozen active forums that
have programmers of all levels from newbies to experts.
Title: Re: Assembler Book?
Post by: pro3carp3 on February 13, 2007, 01:49:04 PM
I will also suggest starting with Randall Hyde's Art of Assembly, as he will give you the foundation you need for any assembler.  I would even suggest that you tackle the Intel manuals before you jump into Iczelions tutorials.  Iczelions tutorials are an introduction to windows programming in assembly language, NOT not an introduciton to assembly language programming.
Title: Re: Assembler Book?
Post by: stk on February 13, 2007, 04:18:52 PM
Hi,

Art of Assembly works hand in hand with HLA, and you could not use it with other
assemblers, right?

Anyway. I have decided to start as follows:

MASM32 with Exagon Tutorial (like Iczelion's, but with more attention on assembly than WinAPI);
GoASM   with the in the download included tutorials
NASM     with the book "Assembly Language Step by Step" for this i've bought MS-DOS 6.2 at ebay today; Price: 15 $

Are the Intel manuals understandable for beginners?

Thank you!

regards,
stk
Title: Re: Assembler Book?
Post by: Wistrik on February 13, 2007, 04:36:27 PM
The Intel (and AMD) manuals provide certain code examples, but I value them more for the processor reference information. In assembly it helps to know the processor you're writing code for because that processor's limits and abilities have a direct impact on what you can do. So while you may not learn how to write assembly language from the processor manuals, you'll certainly learn more about the processor, and that in turn makes it easier to understand what your assembly programs are doing. The manuals cover most aspects of system development, so try to focus on "applications" as that is the information that will apply most to what you are learning.

I hope that's helpful to you.
Title: Re: Assembler Book?
Post by: stk on February 13, 2007, 07:05:41 PM
Hi Wistrik,

please i do not know which manuals i should download,
so can you give me a link please and tell which one i should
download.
Please!

Thank you.

regards,
stk
Title: Re: Assembler Book?
Post by: Wistrik on February 13, 2007, 07:47:55 PM
Go HERE (http://www.intel.com/products/processor/manuals/) and download these four documents from Intel:

Intel® 64 and IA-32 Architectures Software Developer's Manual
Documentation Changes

Intel® 64 and IA-32 Architectures Software Developer's Manual
Volume 1: Basic Architecture

Intel® 64 and IA-32 Architectures Software Developer's Manual
Volume 2A: Instruction Set Reference, A-M

Intel® 64 and IA-32 Architectures Software Developer's Manual
Volume 2B: Instruction Set Reference, N-Z

That'll give you plenty to work with. In particular you can look up various assembly instructions to see exactly what they do and what options are available.
Title: Re: Assembler Book?
Post by: stk on February 13, 2007, 08:38:14 PM
Hi,

thank you.

regards,
stk
Title: Re: Assembler Book?
Post by: stk on February 15, 2007, 02:56:05 PM
Hi,

i learn assembly programming on a computer with Windows 98 SE
and the Processor is a Pentium 2, so can i use the recommended
Intel manuals:
http://www.intel.com/products/processor/manuals/

or do i need the following manual:
http://ftp.utcluj.ro/pub/docs/publicatii/intel/pentiumII.pdf

regards,
stk
Title: Re: Assembler Book?
Post by: MichaelW on February 16, 2007, 03:15:25 AM
You can use the current manuals, but the older manual should be easier to navigate.
Title: Re: Assembler Book?
Post by: hutch-- on February 16, 2007, 12:47:40 PM
stk,

use the current Intel manuals, they are technically better than the older ones and refer to the earlier processors in useful ways. In particular once you have digested enough of the instructions, have a good read of the optimisation manual from Intel, it has a lot of good stuff in it.
Title: Re: Assembler Book?
Post by: stk on February 16, 2007, 01:58:50 PM
Hi,

thank you!

regards,
stk
Title: Re: Assembler Book?
Post by: Sameer on February 21, 2007, 07:36:43 PM
in addition to what has already been mentioned i would suggest,
The Assembly Programming Master Book
by Vlad Pirogov 
A-LIST Publishing © 2005
ISBN:1931769362

and

Programming Windows by charles petzold - 5th edition // a VERY good to learn the core windows stuff

** Both of these are not for absolute beginners.

both the books concentrate on programming with windows. i dunno why you want to start with DOS when you can directly start with 32bit.
Title: Re: Assembler Book?
Post by: TomRiddle on February 21, 2007, 09:03:51 PM
No one mentioned Ralph Brown: http://www.ctyme.com/intr/alpha.htm
Another easy DOS Tutorial(5 of them actually): http://www.cesis.lv/learn/asm/asm0.html
I still have copy of this one: http://www.frontiernet.net/~fys/faq/gen2.html
If you can stand the horrible pop-ups: http://www.piclist.com/techref/language/masms.htm

And get a chuckle before they fix it, Tasm for free, and they fixed it.

[/Edit]
Title: Re: Assembler Book?
Post by: ramguru on February 21, 2007, 09:29:09 PM
While being in US I bought 32/64-Bit 80x86 Assembly Language Architecture (http://www.wordware.com/Merchant2/merchant.mv?Screen=PROD&Store_Code=wwpub&Product_Code=1598220020) This book isn't entirely for newbies, it has some advanced topics, that's why I liked it. I actually made a good deal (paid 60% of real price) using coupons that, to say truth, are freely available if you know how to use google.
Title: Re: Assembler Book?
Post by: stk on February 23, 2007, 07:07:56 PM
Hello,

thanks to all for the links!

regards,
stk