Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

masm software

where to download masm software from?my friends say downloading masm from the net gets viruses on to the comp.is it true?the comp i have access to is a windows xp.please give the procedure to download it and install it in the comp.my comp,as of now does not have an antivirus thing.else if i have to use the masm software on the net itself,which website provides this environment to execute the 8086 programs?moreover how to write a program in masm-8086 using procedures.we have not been taught about it.but i seriously want to know as i know so many programs can be easily executed with the help of it.should ".call" be used?please tell me as soon as possible.
swarna

Comments

  • AsmGuru62AsmGuru62 Posts: 6,519Member
    : where to download masm software from?my friends say downloading masm
    : from the net gets viruses on to the comp.is it true?the comp i have
    : access to is a windows xp.please give the procedure to download it
    : and install it in the comp.my comp,as of now does not have an
    : antivirus thing.else if i have to use the masm software on the net
    : itself,which website provides this environment to execute the 8086
    : programs?moreover how to write a program in masm-8086 using
    : procedures.we have not been taught about it.but i seriously want to
    : know as i know so many programs can be easily executed with the help
    : of it.should ".call" be used?please tell me as soon as possible.
    : swarna
    :
    [color=Blue]Try this place for MASM32 package:

    [link=http://www.movsd.com/]http://www.movsd.com/[/link]

    btw, MASM is ancient and not an easy one for a beginner - try FASM - much better. MASM requires two steps: compilation (creating OBJ file(s)) and link (creating EXE file). FASM does the EXE file in one run - very friendly.
    [/color]
  • BitByBit_ThorBitByBit_Thor Posts: 2,444Member
    Or NASM, which I have found to be most beginner-friendly but also powerful enough to use for more complicated tasks.

    I downloaded it from http://nasm.sourceforge.net/
    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry
  • MT2002MT2002 Posts: 1,444Member
    : which website provides this environment to execute the 8086
    : programs?
    [blue]
    I am not sure what you mean here...
    [/blue]
    : moreover how to write a program in masm-8086 using
    : procedures.
    [blue]
    In NASM, A "Procedure" is simply represented by a label, where you would use both CALL and RET (or RETF) instructions. For example, assuming that you have the segments set up, to call a function is simple:
    [code]
    call MyFunction ; near call

    MyFunction:

    ret ; near return
    [/code]

    This is a very basic part of assembly language. These makes me suspect that you do not have that much (If any) experience with assembly language.

    I second NASM over MASM. My only problem with NASM is that of its structure support is ugly. Its still very easy to use though, compared to other assemblers like TASM and MASM.
    [/blue]
    [hr][size=1][leftbr].:EvolutionEngine[rightbr][leftbr].:MicroOS Operating System[rightbr][leftbr][link=http://www.mt2002.sitesled.com]Website :: OS Development Series[rightbr][/link][/size]
  • swarnagowriswarnagowri Posts: 5Member
    i know how to use assembly language.i have been studying it for the past 2 semesters.first 8085 and then 8086,that i am studying now.i know how to call a program.i have done it with c & c++ also.but this stupid masm software is being taught in my college,engineering course.That's why i asked for masm specifically.moreover i went on with that label method u have suggested in masm.but it wont work.it gave so many error messages.when i said "which websites provide this envt..."I meant that "can i execute masm programs on the net-while i am on the net-which website should i visit to execute the programs without actually downloading it into my comp?" Understood?
    Thanks for helping me out.Hope u answer this one too.
  • MT2002MT2002 Posts: 1,444Member
    I dont think there are any websites like that. Sorry :-(

    MASM32 uses a different method of procedures. For an example,
    [code]
    .386
    .model flat, stdcall
    option casemap :none ; case sensitive

    ; code segment
    cseg segment
    assume ds:cseg, es:cseg, ss:cseg

    ;*********************************
    ; main()
    ;*********************************

    main proc

    ret

    main endp

    ; end code segment
    cseg ends

    end main ; set entry point routine
    [/code]


    [link=http://furix.net/introduction-masm32]THIS[/link] might be helpful.

    Good luck:-)

    [hr][size=1][leftbr].:EvolutionEngine[rightbr][leftbr].:MicroOS Operating System[rightbr][leftbr][link=http://www.mt2002.sitesled.com]Website :: OS Development Series[rightbr][/link][/size]
Sign In or Register to comment.