[comp.sys.m68k] Looking for Macintosh 68k cross assembler

mrb@dadent (Mike Bray) (02/16/90)

We are using Motorola 68k ECBs in a senior EE lab.  We are 
looking for an assembler that will execute on a Mac II and 
produce S records (or any other format) that can be downloaded
to the ECBs.  Any pointers out there?

Thanks,
Mike Bray

shepard@umber.CS.ORST.EDU (Mark Shepard) (02/16/90)

550 <mrb@dadent>... Host unknown <- hey I tried...

In article <1990Feb16.055133.15899@cec1.wustl.edu> you write:
>We are using Motorola 68k ECBs in a senior EE lab.  We are 
>looking for an assembler that will execute on a Mac II and 
>produce S records (or any other format) that can be downloaded
>to the ECBs.  Any pointers out there?

On Motorla's Freeware BBS [512-891-3733] you will find a pretty darn good
public-domain cross-assembler.  It's written by some folks at motorola, it
supposedly compatible with Motorola's microsystem assembler (ie it supports all
addressing modes, not a subset), it spits out s-records, and it even supports
68030/68881/68851 instructions.  Oh yes, it's written in C, developed on a 
Sun unix system, but pretty well written and easy to hack on.

As for porting it to a mac:  Do you have a K&R C compiler with basic stdio.h
stuff?  Okay, now, does that C compiler use 32-bit ints or 16-bit?  If 16 bit
you'll have troubles, since while generally pretty good, this assembler does
assume int's are 32-bits (for a 68k register).

Sorry - I can't remember what the .arc file was called on Moto's BBS, but
it was clearly marked "68030/68881/68851 cross-assembler". 

OR, I can e-mail you a copy if you like.  

OR, (not knowing much about mac c-compilers) if the
32-bit int thing is a problem, I can mail you the version of this assembler
which I'm using myself--on my IBM PC under TurboC.  IBM's of course are so
vulgar as to use 16-bit ints (not to mention segments :-) so I ended up 
protoizing the whole program and
then hacked a bunch of new pseudo-ops into the assembler to support a
68k system-monitor I was trying to get working for a 68030 board I'm building.

[ At least, assuming no one (the original authors?) from Motorola objects...
  Any comments Motorola? ]

>Thanks,
>Mike Bray

You're welcome.
Mark Shepard	shepard@cs.orst.edu