The MASM Forum

General => The Campus => Topic started by: JBP on April 17, 2015, 11:22:01 AM

Title: 1st Post
Post by: JBP on April 17, 2015, 11:22:01 AM
Just wanted to make my first post but wasn't really sure where to put it so here goes (MODS feel free to move this posting if necessary). I've been interested in programming for many years and finally decided to sit down and give it an honest go. I would like to become as proficient C++ and Assembly language as I possibly can. I'm open to any suggestions that will help a complete beginner at programming (other than a couple .BAT for automating backups  :bgrin:) If anyone has any suggestions on an ASM IDE that'd be great. I already use Visual Studio for C++ but that's a topic for another forum. Thanks all. And thanks hutch for helping me with my registration problem

FYI - I'm not a BOT
Title: Re: 1st Post
Post by: hutch-- on April 17, 2015, 11:26:53 AM
Hi Josh, thanks for posting.
Title: Re: 1st Post
Post by: fearless on April 17, 2015, 11:31:54 AM
Hi JBP

There are a couple of IDE's you can use for assembly development, including visual studio. Just seen the other day an updated page relating to setting up visual studio for use with masm: http://kipirvine.com/asm/gettingStartedVS2013/index.htm (http://kipirvine.com/asm/gettingStartedVS2013/index.htm), so if your more comfortable using that IDE that might be an option.

Hutch has a IDE included with the MASM32 download

I use RadASM v2.2.2.0 myself, but the main site went down, and the mirror is for v2.2.1.6 which should be fine though: http://www.oby.ro/rad_asm/ (http://www.oby.ro/rad_asm/)
I did find another mirror for v2.2.2.0, although my anti-virus triggered a false positive on it: http://www.assembly.com.br/download/radasm.html (http://www.assembly.com.br/download/radasm.html)

Few of the other chaps around here probably can direct you to some useful reference material and hints & tips to getting started (JJ and/or Dave usually have links for that stuff)


Title: Re: 1st Post
Post by: dedndave on April 17, 2015, 12:25:57 PM
welcome to the forum Josh   :t
Title: Re: 1st Post
Post by: jj2007 on April 17, 2015, 03:33:32 PM
Quote from: fearless on April 17, 2015, 11:31:54 AMuseful reference material and hints & tips to getting started (JJ and/or Dave usually have links for that stuff)

Hi Josh,

Here (http://www.webalice.it/jj2006/Masm32_Tips_Tricks_and_Traps.htm) is a two-pager with essential stuff (you can ignore everything in green).

If that is really your first experience in programming, prepare for a steep learning curve. Assembler looks very complicated at the beginning, but you have to learn only a handful of instructions to do essential things. On the other hand, C++ needs a 1,000 pages manual... go figure, it's an elephant.

P.S.: You should get JWasm from here (http://sourceforge.net/projects/jwasm/).
Title: Re: 1st Post
Post by: Siekmanski on April 17, 2015, 06:11:35 PM
Hi Josh,

Welcome to the forum.  :t

Marinus
Title: Re: 1st Post
Post by: JBP on April 18, 2015, 01:03:38 AM
Thanks for the tips everyone.. What is the general consensus on Randall Hydes - Art of Assembly Language 2nd Edition? Is it a good way to get started with assembly? I know it uses his own high-level assembler but from what I read it does that go ease the learning curve that comes inherit to assembly language.
Title: Re: 1st Post
Post by: JBP on April 18, 2015, 01:09:47 AM
Quote from: fearless on April 17, 2015, 11:31:54 AM
Hi JBP

.....

I use RadASM v2.2.2.0 myself, but the main site went down, and the mirror is for v2.2.1.6 which should be fine though: http://www.oby.ro/rad_asm/ (http://www.oby.ro/rad_asm/)
I did find another mirror for v2.2.2.0, although my anti-virus triggered a false positive on it: http://www.assembly.com.br/download/radasm.html (http://www.assembly.com.br/download/radasm.html)

.....

Thanks for the link... I downloaded a copy of v2.2.2.0 and firefox blocked it as a potential malware..I turned that off in about:config and downloaded it again and scanned it with MS Security Essentials and BitDefender and didn't get a hit so I'm going to trust that it is clean. Also I'll save a copy of it (and other hard to locate tools) and their associated files to my website so that another mirror is available if necessary someday.
Title: Re: 1st Post
Post by: jj2007 on April 18, 2015, 03:06:03 AM
Quote from: JBP on April 18, 2015, 01:03:38 AMWhat is the general consensus on Randall Hydes - Art of Assembly Language 2nd Edition?

HLA works, of course, but it seems not be widely used. You might have problems finding support, as it is like a different language.

Masm32 offers a wide range of easy-to-use macros. Have a look at \Masm32\help\hlhelp.chm
Title: Re: 1st Post
Post by: JBP on April 18, 2015, 04:36:01 AM
Quote from: jj2007 on April 18, 2015, 03:06:03 AM
Quote from: JBP on April 18, 2015, 01:03:38 AMWhat is the general consensus on Randall Hydes - Art of Assembly Language 2nd Edition?

HLA works, of course, but it seems not be widely used. You might have problems finding support, as it is like a different language.

Masm32 offers a wide range of easy-to-use macros. Have a look at \Masm32\help\hlhelp.chm

Thanks and I definitely will.. Also is it beneficial to have a separate programming environment such as WinXPProSp3 within a VirtualBox instance? The only reason I ask is because I noticed some forums mentioned that it may be necessary to run older development software such as Turbo Assembler ect.. with in the Dosbox emulator with Win7/8-x64.
Title: Re: 1st Post
Post by: jj2007 on April 18, 2015, 06:18:42 AM
Don't worry, nothing special required. Any standard Windows installation will do, from XP onwards.
Title: Re: 1st Post
Post by: rrr314159 on April 18, 2015, 07:40:08 AM
Hi JBP,

FORTRANS and I are in a minority of two, we like Randall Hyde's book. However I don't know anything about 2nd edition, and am very suspicious of anything like an "HLA". Just makes it harder to learn MASM by covering it up with more stuff to learn. Admittedly I haven't looked at it.

Anyway this question came up on another thread (http://masm32.com/board/index.php?topic=4147.msg43993#msg43993) and here's the link I gave there,

The Art of Assembly Language Programming by Randall Hyde (https://courses.engr.illinois.edu/ece390/books/artofasm/artofasm.html).

Note some of the chapters can be skipped: anything about the UCR  "Standard Library" is obsolete. When he starts talking about "finite state automata" and "iterators" you should probably turn the page.

Some people think the DOS info is obsolete, I don't agree, it's still a good book / tutorial.
Title: Re: 1st Post
Post by: jj2007 on April 18, 2015, 08:54:35 AM
Quote from: rrr314159 on April 18, 2015, 07:40:08 AM
Hi JBP,

FORTRANS and I are in a minority of two, we like Randall Hyde's book. However I don't know anything about 2nd edition, and am very suspicious of anything like an "HLA".

There are at least three fans of the book - I like it, too. But that's the 1st edition. After that, Randy Hyde started working on a new medium level language, a missing link between assembler and high level languages. And as far as I can see, the resonance is not overwhelming.
Title: Re: 1st Post
Post by: JBP on April 18, 2015, 12:34:54 PM
Quote from: fearless on April 17, 2015, 11:31:54 AM
Hi JBP

There are a couple of IDE's you can use for assembly development, including visual studio. Just seen the other day an updated page relating to setting up visual studio for use with masm: http://kipirvine.com/asm/gettingStartedVS2013/index.htm (http://kipirvine.com/asm/gettingStartedVS2013/index.htm), so if your more comfortable using that IDE that might be an option.

.....

I think I'm going to give this book a go.. Especially since I plan on using Visual C++ primarily anyways and it'd probably be easier if I can stick with one IDE most likely..
Title: Re: 1st Post
Post by: Gunther on April 18, 2015, 09:58:41 PM
Hi Josh,

welcome to the forum.

Gunther