Welcome Guest.   Make a donation to an author on the site October 30, 2014, 06:17:36 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: What version of assembly? Any  (Read 10932 times)
mouser
First Author
Administrator
*****
Posts: 33,611



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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?
Logged
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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 smiley
Logged

- carpe noctem
MilesAhead
Member
**
Posts: 4,969



View Profile WWW Give some DonationCredits to this forum member
« 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.)  smiley

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. smiley
Logged

"Genius is not knowing you can't do it that way."
- MilesAhead
Ehtyar
Supporting Member
**
Posts: 1,236



That News Guy

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: February 11, 2009, 03:57:28 PM »

You can compile a MessageBox() to less than a kb under FASM Wink

Ehtyar.
Logged
MilesAhead
Member
**
Posts: 4,969



View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: February 11, 2009, 05:17:16 PM »

You can compile a MessageBox() to less than a kb under FASM Wink

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. smiley
Logged

"Genius is not knowing you can't do it that way."
- MilesAhead
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged

- carpe noctem
ewemoa
Honorary Member
**
Posts: 2,484



View Profile Give some DonationCredits to this forum member
« Reply #6 on: February 11, 2009, 05:46:38 PM »

While browsing:

  https://secure.wikimedia....rg/wikipedia/en/wiki/FASM

I noticed mention of:

  https://secure.wikimedia..../wiki/High_Level_Assembly

Does that count?

Side note: also came across:

  https://secure.wikimedia..../Comparison_of_assemblers
  http://webster.cs.ucr.edu/AsmTools/WhichAsm.html (written by HLA author?)
« Last Edit: February 11, 2009, 05:49:33 PM by ewemoa » Logged
Ehtyar
Supporting Member
**
Posts: 1,236



That News Guy

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: February 11, 2009, 05:56:48 PM »

HLA does count, but pick where you ask for help carefully.

Ehtyar.
Logged
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: February 11, 2009, 05:57:38 PM »

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

- carpe noctem
Cpilot
Charter Honorary Member
***
Posts: 293



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged
ewemoa
Honorary Member
**
Posts: 2,484



View Profile Give some DonationCredits to this forum member
« 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?
Logged
Ehtyar
Supporting Member
**
Posts: 1,236



That News Guy

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged
ewemoa
Honorary Member
**
Posts: 2,484



View Profile Give some DonationCredits to this forum member
« Reply #12 on: February 11, 2009, 11:40:37 PM »

Thanks a lot for this tip -- perhaps I can remain relatively unsinged Wink
Logged
MilesAhead
Member
**
Posts: 4,969



View Profile WWW Give some DonationCredits to this forum member
« Reply #13 on: February 12, 2009, 09:29:48 AM »

Thanks a lot for this tip -- perhaps I can remain relatively unsinged Wink

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

"Genius is not knowing you can't do it that way."
- MilesAhead
Crush
Member
**
Posts: 399



Hello dude!

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: February 12, 2009, 10:11:35 AM »

A rather good one is the 0ok-Assembler from Farbrausch.
Logged
mitzevo
Supporting Member
**
Posts: 460



Control is power

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #15 on: February 12, 2009, 10:23:03 AM »

Just has to be an Assembly area doesn't there!  Grin
Logged

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
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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?
Logged

- carpe noctem
Crush
Member
**
Posts: 399



Hello dude!

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« 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 » Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.061s | Server load: 0.03 ]