|
mouser
|
 |
« 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
|
 |
« 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 
|
|
|
|
|
Logged
|
 - carpe noctem
|
|
|
|
MilesAhead
|
 |
« 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. 
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
|
Ehtyar
|
 |
« Reply #3 on: February 11, 2009, 03:57:28 PM » |
|
You can compile a MessageBox() to less than a kb under FASM  Ehtyar.
|
|
|
|
|
Logged
|
|
|
|
|
MilesAhead
|
 |
« 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. 
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
f0dder
|
 |
« 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
|
 |
« Reply #6 on: February 11, 2009, 05:46:38 PM » |
|
|
|
|
|
« Last Edit: February 11, 2009, 05:49:33 PM by ewemoa »
|
Logged
|
|
|
|
|
Ehtyar
|
 |
« Reply #7 on: February 11, 2009, 05:56:48 PM » |
|
HLA does count, but pick where you ask for help carefully.
Ehtyar.
|
|
|
|
|
Logged
|
|
|
|
|
f0dder
|
 |
« 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
|
 |
« Reply #9 on: February 11, 2009, 09:29:45 PM » |
|
Here's one that's under development. easmIf you're interested in supporting something new and maybe a little different.
|
|
|
|
|
Logged
|
|
|
|
|
ewemoa
|
 |
« 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: 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
|
 |
« 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
|
 |
« Reply #12 on: February 11, 2009, 11:40:37 PM » |
|
Thanks a lot for this tip -- perhaps I can remain relatively unsinged 
|
|
|
|
|
Logged
|
|
|
|
|
MilesAhead
|
 |
« 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..
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
Crush
|
 |
« Reply #14 on: February 12, 2009, 10:11:35 AM » |
|
A rather good one is the 0ok-Assembler from Farbrausch.
|
|
|
|
|
Logged
|
|
|
|
|
mitzevo
|
 |
« Reply #15 on: February 12, 2009, 10:23:03 AM » |
|
Just has to be an Assembly area doesn't there! 
|
|
|
|
|
Logged
|
The early bird may get the worm; but the second mouse gets the cheese!
|
|
|
|
f0dder
|
 |
« Reply #16 on: February 12, 2009, 12:18:59 PM » |
|
Have Farbrausch changed name to 0ok?
|
|
|
|
|
Logged
|
 - carpe noctem
|
|
|
|
Crush
|
 |
« 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
|
|
|
|
|