Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Mar 2003
    Location
    Dallas,TX
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    masm,fasm assembly

    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++.

  • #2
    New Coder
    Join Date
    Mar 2003
    Location
    Dallas,TX
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you are just getting started with assembly programming,this link should give you enough info to start you on your way:

    http://webster.cs.ucr.edu/WhichAsm.html

    [This link has been edited and should work now]
    Last edited by malform; 02-09-2004 at 02:08 AM.

  • #3
    New Coder
    Join Date
    Mar 2003
    Location
    Dallas,TX
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thank you for your help.I wish there were more people like you.

  • #4
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by malform
    thank you for your help.I wish there were more people like you.
    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...assembly&meta=

  • #5
    New Coder
    Join Date
    Mar 2003
    Location
    Dallas,TX
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Still not there

    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:

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


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

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •