Jump to content
xisto Community
neeki4444

Assembly Tutorial

Recommended Posts

Hi.
The main Win32 assembly tutorial is http://forums.xisto.com/no_longer_exists/ (Iczelion tutorials)
Actually these are tutorials that returned assembly language in the novadays application programing. Unfortunately, they use the microsoft assembler, that is little bit outdated now.
In the last years, a bunch of new assemblers grows and now there are several very serious communities of assembly programmers out there.

You can take a look at my favourite: "Flat assembler" aka FASM. It works on Windows, DOS, Linux, FreeBSD, MenuetOS, BeOS. It is fully assembly written, self compilable and portable. It compiles very fast (actually maybe FASM is fastest assembler in the world now). It optimize the code to make programs smaller:

The main site of FASM: http://flatassembler.net/
The project FRESH: http://fresh.flatassembler.net/ - This is modern RAD IDE with built-in FASM compiler. Fully assembly written, self compilable. Now in pre-alpha stage, it already have a lot of features.
The site about assembly programming and tutorials for FASM: http://decard.net/
The site of pelaillo about assembly programming: http://forums.xisto.com/no_longer_exists/
Main flat assembler message board: http://board.flatassembler.net/

Regards

Share this post


Link to post
Share on other sites

thankx johnfound, I will take a look at the website you gave me, and the compiler. I have taken an assembly course before but the whole coures was based on masam, the microsoft assembler. I really want to know how write a program that will work without an operating system as well, if you know how to do that please let me knowThankx. :P

Share this post


Link to post
Share on other sites

This is sort of a stupid question but how do I integrate the MASM Assembler(ml.exe) that comes with Visual C++ .NET with it?? I really wanna use the Visual C++ IDE for the MASM thing and all my friends say that they can do it with VC++ .NET and I wanna compile with too plz help :S....

Share this post


Link to post
Share on other sites

assembler?its just remember me 10 yrs ago when 1st time i use it 4 microcontroller. i use motorola which is exreamly different than intel. dunno how far ist that tecnology til nowadays?

Share this post


Link to post
Share on other sites

assembler?its just remember me 10 yrs ago when 1st time i use it 4 microcontroller. i use motorola which is exreamly different than intel. dunno how far ist that tecnology til nowadays?

Assembler is good langueage when you need to make some HW things, i.e. bootstrap loader

Share this post


Link to post
Share on other sites

Assembler is good langueage when you need to make some HW things, i.e. bootstrap loader

14638[/snapback]


:P This information is really 10 years old now. In novadays, because of new advanced tools and libraryes, the assembler becomes very good language for applications writing as well (and HW drivers, OSes etc.). Actually, now the assembler beats many HLL's with its very high speed and small application size. The main problem of assembler programming - slow creation of the programs is already in past - now the assembly programming is almost as rapid as any HLL like VB, VC or Delphi. And the things becomes better and better.

 

Regards

Share this post


Link to post
Share on other sites

Ugh... masm. Spare me the style and spare yourself (you, you silly reader) some time and use fasm or nasm. You know, stuff people use on more than one OS. :lol: But yeah, Mr. Guest is right, the Aoa is a good tutorial. I'd suggest that people get out of the x86 (and CISC in general) and try some things like the z80 just to get a different feel of things.

Share this post


Link to post
Share on other sites

FASM is incredibly easy. I am learning the winapi in c / assembly (despite my damn java instructor) and may I say I love VC++  for C but FASM just blows everything else out of the water. Even NASM.

For Window$ people (guilty hehe), its got FASMW and provides a super easy way of linking/compiling in a simple set of pressing CTRL+f9 and f9. How can you beat that??

The includes are super easy. Even if you're too stupid to configure or have difficulties all you need to put at the top of your soucre (for winapi, I already said I'm biased alright?) is this:

include '(insert directory of FASM here)includewin32ax.Inc'For me this was as simple as:Include 'c:FASMincludewin32ax.Inc'And it gets even easier if you can configure a simple fasmw.Ini file to point to the directory.

Not to mention, if you navigate the fasmincludeexamples, there is awesome support and demonstrations on how to get started. One of them is even called Beer, and its pretty neat.This is coming from someone who loves c, but wants to learn and migrate primarily to assembly and has had a hell of time getting an assembler going. For me, the F in FASM stands for FINALLY Assembly.Now if we can just get past all these dust covered assembly tut's that reference dos interrupts and segmented addressing lol. Actually, thats good stuff. Seriously though, look at MenuetOS, the entire thing is coded in FASM and fits on a floppy.. Not bad. Actually, that makes me hard.You just cant beat fasm for ease of learning and for a better assembler.. At least from a n00bs perspective. 

 

-reply by AeRo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.