[comp.sys.sun] 68000 cross-assembler for sun4

marc@aplpy.jhuapl.edu (Marcus Gates) (07/21/89)

We are developing software on a sun4/260 to be downloaded to several
boards.  One board required 68020 code and we bought the sun
cross-compiler (part no. CRC-20-3-4-5) to satisfy that need.  A need has
now arisen to assemble 68000 code and the cross-compiler package
apparently doesn't support that.  One possible source I have found is
Microtec Research Inc which sells a macro assembler for the 68000 family.
Does anyone have experience with this or any another package for
asseembling 68000 code on a sun4?  Thanks.

				marc gates
				johns hopkins applied physics lab, laurel, md
				UUCP: ...bpa!cp1!aplcen!aplvax!marc
				Internet: marc@aplpy.jhuapl.edu

dupuy@cs.columbia.edu (08/03/89)

You should be able to use the Sun cross-compiler and specify that you want
to generate code for a sun2 (mc68010).  That will generate code which is
compatible with the 68000 (i.e. no bitfield insns, etc.).  The only
difference between the 68010 and 68000 are in a few supervisor mode
instructions which no sane compiler should ever emit.

If you really need a 68000-only assembler, you could use gas, the GNU
assembler - it's free, and available for anonymous FTP from AENAS.MIT.EDU
in pub/gnu.

@alex