View Full Version : masm,fasm assembly

02-02-2004, 10:01 AM
I used to program my Commodore computer in 6502 assembly code.I now want to learn x86 assembly.I am reading and learning differences,as well as similarities to my programming techniques I came up with.

So comes the time to try to write my first simple programs.

I downloaded MASM and Fasm,two full functioning assembler compilers.

The compilers give me error messages when I try to compile or run their own example programs.Do I need something else on my system for these to function?

The two books I've been reading and these compilers all use different syntaxes.How do I get an assembler and a syntax to work together?I prefer the flat type over MASM which they say is like C++.

02-04-2004, 06:29 AM
If you are just getting started with assembly programming,this link should give you enough info to start you on your way:


[This link has been edited and should work now]

02-04-2004, 06:30 AM
thank you for your help.I wish there were more people like you.

02-04-2004, 08:30 AM
Originally posted by malform
thank you for your help.I wish there were more people like you.
:confused: Maybe we are just not into low level programming. Since these are "Web coding and development forums", you maybe just did not come to the right place for this question.
BTW; Your link is broken
Google didn't give you enough info to get started? http://www.google.be/search?hl=nl&ie=UTF-8&oe=UTF-8&q=x86+assembly&meta=

02-08-2004, 04:58 AM
The description of this category is "programming questions relating to assembly or c++".

I still haven't found good documentation for the syntax to use,but I might find some on Google,thank you.

I could get started if someone knew Tasm (or Masm)and could show me the syntax to change a file attribute.I wrote this but get nothing but error messages for every line:

file db "C:/masm32/LOGOTEST.BMP$",0

mov AX,file
mov DS,AX
mov AH,43
mov AL,1
end start

Do I need to declare a stack? How does tasm (or Masm)do that?