x86 Assembly

Moderators: None (Apply to moderate this forum)
Number of threads: 4563
Number of posts: 16029

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
new to assembler Posted by Siavash1989 on 14 Aug 2005 at 2:40 PM
i wanted to learn assembler, and so far i am successful, but i seem to need a "compiler" type thing called an assembler, where can i find such a thing?


"Within these countries, the man who was loyal, I rewarded well, who was evil, him I punished well!"
Report
Re: new to assembler Posted by IDK on 15 Aug 2005 at 3:33 AM
: i wanted to learn assembler, and so far i am successful, but i seem to need a "compiler" type thing called an assembler, where can i find such a thing?
:
:
: "Within these countries, the man who was loyal, I rewarded well, who was evil, him I punished well!"
:

A very good one is the Fasm assembler, download it from http://flatassembler.net/index.php

You could otherwise use the windows compiler, ML.EXE and LINK.exe, you'll also need the file ml.err. Search the web for the file names and you'll probably find something.

I strongly recomend the flatassembler though

Niklas Ulvinge aka IDK

Report
Re: new to assembler Posted by AsmGuru62 on 15 Aug 2005 at 6:06 AM
: : i wanted to learn assembler, and so far i am successful, but i seem to need a "compiler" type thing called an assembler, where can i find such a thing?
: :
: :
: : "Within these countries, the man who was loyal, I rewarded well, who was evil, him I punished well!"
: :
:
: A very good one is the Fasm assembler, download it from http://flatassembler.net/index.php
:
: You could otherwise use the windows compiler, ML.EXE and LINK.exe, you'll also need the file ml.err. Search the web for the file names and you'll probably find something.
:
: I strongly recomend the flatassembler though
:
: Niklas Ulvinge aka IDK
:
:
Flat Asm is the way to go - no linker, so you get your program just by running one tool. Besides, author supports it very good - just recently new FASM came out with 64-bit programming support.

The other assemblers just laying and picking up dust.

Report
Re: new to assembler Posted by Siavash1989 on 15 Aug 2005 at 12:20 PM
i was using MASM32, im gonna use FASM now, and i have a tutorial on assembling in 32 bit, i am wondering if the language is diffrent? on diffrent assemblers? cuz my 16 bit code is not compiled in 32 bit.


"Within these countries, the man who was loyal, I rewarded well, who was evil, him I punished well!"

Report
Re: new to assembler Posted by IDK on 15 Aug 2005 at 12:37 PM
: i was using MASM32, im gonna use FASM now, and i have a tutorial on assembling in 32 bit, i am wondering if the language is diffrent? on diffrent assemblers? cuz my 16 bit code is not compiled in 32 bit.
:
:
: "Within these countries, the man who was loyal, I rewarded well, who was evil, him I punished well!"
:
:
The fasm syntax is a little different thatn the masm...

Niklas Ulvinge aka IDK

Report
Re: new to assembler Posted by shaolin007 on 17 Aug 2005 at 1:40 PM
: : i was using MASM32, im gonna use FASM now, and i have a tutorial on assembling in 32 bit, i am wondering if the language is diffrent? on diffrent assemblers? cuz my 16 bit code is not compiled in 32 bit.
: :
: :
: : "Within these countries, the man who was loyal, I rewarded well, who was evil, him I punished well!"
: :
: :
: The fasm syntax is a little different thatn the masm...
:
: Niklas Ulvinge aka IDK
:
:


But they do have a lot in common. More closer to MASM than NASM.



Report
Re: new to assembler Posted by anthrax11 on 19 Aug 2005 at 1:27 AM
I use TASM 3.2 for my 16-bit DOS programs and MASM32v8.2 for 32-bit windows programs. They both have nice syntaxes too. I dont like the NASM syntax though.
Report
Re: new to assembler Posted by frizzz on 25 Aug 2005 at 2:02 PM
: I use TASM 3.2 for my 16-bit DOS programs and MASM32v8.2 for 32-bit windows programs. They both have nice syntaxes too. I dont like the NASM syntax though.
:
All programs for assembly differ in syntax-rules for source and the OS, which is needed as environment - but not in effect!
Thus the crite for Your decision should be:
Do You want to easily copy code out of other sources?
What sort of code of others would You like to use?

I wrote my own OS in NASM-dialect because the syntax is very close to intel-convention and its for free and reliable.
If You use this dialect, You can easily understand most of tutorials on the net (and You will understand MASM,TASM and FASM too...)
But If You want to make use of already done coding, You should make use of NASM and look at my OS, where You will find a lot of well commented examples. There You can find everything, which is spread over a lot of programs, if You prefer other assembler-dialects. (editor,filesystem,drivers for FD und HD, and a menu-mode, which You easily can extend for Your experiments)
I wrote that OS, because I couldn't find anything comparable on the net - but needed it for starting with a kernel in asm. Look at:
www.rcfriz.de
and download the sources of "FDOS1". You can find a well done tutorial for programing in NASM at:
www.drpaulcarter.com/pcasm/
Links to NASM-homepage are on my homepage...
Report
for the beginner, which i am Posted by Gregry2 on 3 Sept 2005 at 7:26 AM
This may be real off, as none of you know this, but look for ketman

its the only x86 interpreter, yes its real. Its great but the syntax really differs. It show things like the register values and stuff, as well as some programmable data windows. Its a full package,

an editor
an assmebler
a debugger
an interpreter

It comes wiht a tutorial too, see it to see.

I like it, actually, its the only one i use. You guys should at least try it. Its for real mode only though.

And it lacks some of the notations like MAIN and PUBLIC (which i dont know) for its real hard code, dont worry, it has labels and stuff...

Well, im not really sure, but keep an open mind and look at it, okay?

by the way, IDK, we need to talk, check ur email.
{2}rIng
Report
Re: new to assembler Posted by Evenbit on 19 Sept 2005 at 9:04 PM
: i wanted to learn assembler, and so far i am successful, but i seem to need a "compiler" type thing called an assembler, where can i find such a thing?
:

Some links and resources that might be helpful for you newbies...

Lot of links at assemblylanguage.net:

http://www.cheapersunglasses.com//asm.html

More links at the Open Directory Project:

http://dmoz.org/Computers/Programming/Languages/Assembly/


- ASSEMBLERS -

MASM32
http://www.movsd.com

NASM: The Netwide Assembler
http://nasm.sourceforge.net

HLA: High Level Assembly Language
http://webster.cs.ucr.edu/AsmTools/HLA/index.html

FASM: The Flat Assembler
http://flatassembler.net/

GoAsm
http://www.godevtool.com/

A86 (DOS) [Free]/A386 (Windows) [Commercial]
http://eji.com/a86/

Or, you can Write Your Own!
http://webster.cs.ucr.edu/AsmTools/...rOwn/index.html


USENET

alt.comp.lang.assembler
alt.lang.asm
alt.os.assembly
alt.os.development
comp.lang.asm.x86
comp.lang.ml
comp.software.extreme-programming

WEB-BASED

http://www.tek-tips.com/threadminder.cfm?pid=272
http://win32asm.cjb.net
http://www.masmforum.com/
http://board.flatassembler.net/

GROUP-BASED

http://groups.yahoo.com/group/aoaprogramming/
http://groups.yahoo.com/group/win32-nasm-users/
http://groups.yahoo.com/group/win32masm/

- Other useful resources -

Intel Manuals and such
http://www.sandpile.org/

Ralph Brown's Interupt List
http://www-2.cs.cmu.edu/afs/cs.cmu..../ralf-home.html

Nathan.

ASSEMBLY LANGUAGE information, tools, forums, and other links available at:
http://www.faqs.org/faqs/by-newsgroup/comp/comp.lang.asm.x86.html




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.