Okay, I downloaded Masm32 to my computer, and I found a (seemingly) good simple tutorial online to get me started before I buy a book. But the tutorial said that here is a code for your first program:

.model small
.stack
.data
message   db "Hello world, I'm learning Assembly !!!", "$"

.code

main   proc
   mov   ax,seg message
   mov   ds,ax

   mov   ah,09
   lea   dx,message
   int   21h

   mov   ax,4c00h
   int   21h
main   endp
end main

It comes up with a couple errors when I go to "Project" - "Assemble & Link" (is that what I'm supposed to go to?).

I figured out one of the errors... I had to put a _ right before all the main's. But the other one says Symbol Type Conflict on line 9.

Anybody know what the problem is? And also.. If you know of a good tutorial online that I could use to get started off, that would be great if you could link to it!

I don't really insist on learning anything... That's just the tutorial that I found.

So, if it's better to learn 32 bit, I certainly would rather learn that. :)

Do you know of any online tutorials that teach the code that Masm works with (32 bit)?

If you insist on learning the obsolete DOS-style 16-bit code

There seems to be a lot of interest in 16 bit code in this forum , which leads me to believe there are a lot of educational institutions teaching this. My question would be WHY?

masm32.com has the whole package for 32 bit and some very good examples and tutorials.

I don't really insist on learning anything... That's just the tutorial that I found.

So, if it's better to learn 32 bit, I certainly would rather learn that. :)

Do you know of any online tutorials that teach the code that Masm works with (32 bit)?

There are some here:
http://www.asmcommunity.net/board/index.php?action=wiki

And a neat one here:
http://www.deinmeister.de/wasmtute.htm

You can download a PDF here:
http://www.acm.uiuc.edu/sigwin/old/workshops/

And a CHM format one here:
http://www.madwizard.org/view.php?page=tutorials.contents

Nathan.

There seems to be a lot of interest in 16 bit code in this forum , which leads me to believe there are a lot of educational institutions teaching this. My question would be WHY?

"If it isn't broke, don't fix it!" ;-)

Nathan.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.