Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 04, 2015, 12:51:04 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: What version of assembly? Any  (Read 11959 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,012
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
What version of assembly? Any
« on: June 21, 2008, 02:49:41 PM »
You can use any assembler and any flavor of assembly that you want for these assignments.
Maybe people can post various assemblers they like for different platforms?

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 8,858
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Donate to Member
Re: What version of assembly? Any
« Reply #1 on: June 23, 2008, 08:17:29 AM »
Here's a bunch of free assemblers for the x86 platform: FASM, NASM, YASM. GNU AS for the masochists :)
- carpe noctem

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,198
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: What version of assembly? Any
« Reply #2 on: February 11, 2009, 01:59:53 PM »
Masm32 is also fun to play with.  What makes it fun is that it includes Windows headers and macros to make it simpler to get started doing Windows apps.  iirc there's a 32 bit example that pops up an OK dialog that assembles to 5 kb(since all it does is call the windows dll to do it.)  :)

It has an "Invoke" syntax that you can use if you hate typing all the pushes and pops.

I think the last time I messed with it was using Win98 but it seems to still be out there. :)

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: What version of assembly? Any
« Reply #3 on: February 11, 2009, 03:57:28 PM »
You can compile a MessageBox() to less than a kb under FASM ;)

Ehtyar.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,198
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: What version of assembly? Any
« Reply #4 on: February 11, 2009, 05:17:16 PM »
You can compile a MessageBox() to less than a kb under FASM ;)

Ehtyar.

It's probably the same.  It's been several years since I used it.  All it does is invoke the function in the dll so I don't think there's too many ways to make that smaller.

The main nice feature is the Windows headers and I seem to remember there was some cool lookup function that made it easy to get the params to a lot of win functions.  But my memory has faded. :)

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 8,858
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Donate to Member
Re: What version of assembly? Any
« Reply #5 on: February 11, 2009, 05:35:33 PM »
Friends don't let... oh wait, I'm not bringing that here.

FASM has an advantage over MASM in that it's free & has source code available - and adopts support for new instruction sets a lot faster than MASM does. And it offers pretty much what MASM does anyway, with the notable exception of return values from macros.
- carpe noctem

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • default avatar
  • Posts: 2,718
    • View Profile
    • Donate to Member
Re: What version of assembly? Any
« Reply #6 on: February 11, 2009, 05:46:38 PM »
While browsing:

  https://secure.wikim...kipedia/en/wiki/FASM

I noticed mention of:

  https://secure.wikim.../High_Level_Assembly

Does that count?

Side note: also came across:

  https://secure.wikim...arison_of_assemblers
  http://webster.cs.uc...mTools/WhichAsm.html (written by HLA author?)
« Last Edit: February 11, 2009, 05:49:33 PM by ewemoa »

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: What version of assembly? Any
« Reply #7 on: February 11, 2009, 05:56:48 PM »
HLA does count, but pick where you ask for help carefully.

Ehtyar.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 8,858
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Donate to Member
Re: What version of assembly? Any
« Reply #8 on: February 11, 2009, 05:57:38 PM »
http://webster.cs.uc...mTools/WhichAsm.html (written by HLA author?)
Yep, webster is Randall Hyde's site.

While HLA isn't my cup of tea, I think it's lame that some people claim that it isn't assembly.
- carpe noctem

Cpilot

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 293
    • View Profile
    • Bite Notes
    • Donate to Member
Re: What version of assembly? Any
« Reply #9 on: February 11, 2009, 09:29:45 PM »
Here's one that's under development.
easm
If you're interested in supporting something new and maybe a little different.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • default avatar
  • Posts: 2,718
    • View Profile
    • Donate to Member
Re: What version of assembly? Any
« Reply #10 on: February 11, 2009, 10:11:33 PM »
Thanks for the feedback [1].

I noticed the following text in Randall Hyde's comparison:

Quote
HLA provides an option to translate HLA source code to that used by several other assemblers (as this is being written, HLA provides the ability to translate HLA source code into MASM, TASM, Gas, or FASM format (NASM is planned and being worked on while this is being written).

If this works well, perhaps it is worth starting with HLA and then consider other options (leaning toward NASM atm) later.  The idea here being, perhaps the learning curve can be on the gentler side.

I guess HLA has an associated book also in online form (in addition to print):

  http://webster.cs.ucr.edu/AoA/index.html


[1] Ehtyar, is there something more specific about being careful in asking for help on this you might not mind sharing?

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: What version of assembly? Any
« Reply #11 on: February 11, 2009, 10:49:00 PM »
On the newsgroups in particular there are some very very big flame wars taking place revolving around HLA not being real asm etc etc. Before you ask for help with HLA on a dedicated forum, be sure to poke around and see what kind of reaction other have gotten to questions about it.

Ehtyar.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • default avatar
  • Posts: 2,718
    • View Profile
    • Donate to Member
Re: What version of assembly? Any
« Reply #12 on: February 11, 2009, 11:40:37 PM »
Thanks a lot for this tip -- perhaps I can remain relatively unsinged ;)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,198
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: What version of assembly? Any
« Reply #13 on: February 12, 2009, 09:29:48 AM »
Thanks a lot for this tip -- perhaps I can remain relatively unsinged ;)

Another thing you can do if you program in other languages, some allow embedded asm statements or procedures/functions.  That can give you a testbed of a running program and you just code a function in asm.  Gives an idea of how the pushes and pops work with parameters, stack setup etc..

Crush

  • Member
  • Joined in 2006
  • **
  • Posts: 399
  • Hello dude!
    • View Profile
    • Donate to Member
Re: What version of assembly? Any
« Reply #14 on: February 12, 2009, 10:11:35 AM »
A rather good one is the 0ok-Assembler from Farbrausch.

mitzevo

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 461
  • Control is power
    • View Profile
    • Donate to Member
Re: What version of assembly? Any
« Reply #15 on: February 12, 2009, 10:23:03 AM »
Just has to be an Assembly area doesn't there!  ;D
The clock is running. Make the most of today. Time waits for no man. Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it is called the present.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 8,858
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Donate to Member
Re: What version of assembly? Any
« Reply #16 on: February 12, 2009, 12:18:59 PM »
A rather good one is the 0ok-Assembler from Farbrausch.
Have Farbrausch changed name to 0ok?
- carpe noctem

Crush

  • Member
  • Joined in 2006
  • **
  • Posts: 399
  • Hello dude!
    • View Profile
    • Donate to Member
Re: What version of assembly? Any
« Reply #17 on: February 12, 2009, 01:51:58 PM »
No, Bero of 0ok is now also a member of Farbrausch.
« Last Edit: February 12, 2009, 02:31:46 PM by Crush »