Hi !

Since FASM has a powerful macro engine, I was wondering if it could be possible to write macros to support instructions for Motorola 68000 or anything else ?
I think it would be ok to implement the instructions/opcodes but that the syntax checking would suck...

Do you think it is reasonabily possible and would be easier than to write a new assembler ?

Thanks !
Posted on 2003-05-09 00:57:35 by JCP
I think it would be cool if fasm could be set up so that different instruction sets could added.

Some that I would be interested in are 68hc11 and 8051 (for PICs).

I would love to have a way to use mov instead of load/store.
Posted on 2003-05-09 02:59:51 by eet_1024
It would also be nice with an 64-bits assembler for x86 (added support for 64-bit to FASM)... :grin: This would be very handy in, among others, Linux which already supports 64-bits coding (don't it?)... Support for other instruction sets too. ;)

Cheers!
Posted on 2003-05-09 07:26:34 by Tommy
I'm sure we'll be able to help privalov with adding support for different CPUs, when he's completed his "(The Master) Privalov's Guide to Fasm internals" (or what he calls it). :)
Posted on 2003-05-09 08:34:56 by scientica
You can start by donating some machines with those CPUs to him :grin:
Posted on 2003-05-09 09:26:26 by bazik
I've got a QED Board and plenty of PIC's (both which are flash based).
Posted on 2003-05-10 04:03:59 by eet_1024
IMHO it isn't good idea. It would be better to create new asm compiler (maybe based on fasm) for those platforms. Those processors are completly diffrent. It would make fasm only bigger.
Posted on 2003-05-10 09:08:48 by Dryobates
If it is possible to do it by only using macros, perhaps not...
But as I said, I don't think macros can solve everything, since, as you said, these assembly "dialects" are completely different...
Posted on 2003-05-11 06:01:30 by JCP