On Monday 08 September 2008 05:46:03 Richard Erlacher wrote: <snip> > Actually I haven't used it myself at all. I've used ASEM-51 which is a > macro assembler, and on my 'XP box it assembles a >4000-line block of ASM > code into a .HEX file in the time it takes me to remove my finger from the > <enter> key. The object code occupies somewhat over 8kB of code space. <snip>
The very thought of 1,000's of lines of assembly language makes me shudder. I would have nightmares. While C is imperfect in many ways, I would rather try and maintain or debug a C source than (especially someone else's) assembler source any day. My nasty little recursive factorial routine using long ints (64-bits) was only about 900-bytes long once compiled and linked, which I thought was pretty good. It's fairly stack hungry, but then again it was meant to be. I thought SDCC made a pretty good job of it, all told. -- Richard. PGP Key-id: 0x5AB3D350 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user