🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3702

Re: A68k vs Lattice 'C'

#3702
From: markv
Date: Thu, 31 May 1990 17:37
33 lines
2105 bytes
> How does learning assembly on the Amiga with A68k differ from using the
> assembler with Lattice 'C'? Are there substantial differences? Do I gain
> much from using one over the other?

Well, in terms of the actual assembly code, not much.  On the other
hand, Lattice uses mostly their own Psudeo-ops and doesn't support all
of the standard ones.  So most PD Assem code wont assemble directly
since most of it uses standard ops (the de-facto standard being the
original Metacomo assembler).  A68k does support these formats.

On the other hand the Lattice Assembler provides many directives aimed
at making interfacing to C code a lot easier (like MASM on a PC) and
fully supports 68000/10/20/881/882 instructions which is useful if you
want to do chip specific things (like cache control, VBR, or inline
floating point).

Recommendations?  If you are doing straight assembly and want to be
able to use existing PD code, use A68k.  If you are writing primarily
to link with Lattice C or need the extra instruction support, use
Lattice's.  (Note you can use both, everything will BLink just fine,
its just with A68k its completely up to you to get calling/caller
conventions etc correct).
 
> Thanks, Mike
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Gooderum			Only...		\    Good Cheer !!!
Academic Computing Services	       ///	  \___________________________
University of Kansas		     ///  /|         __    _
Bix:	  markgood	      \\\  ///  /__| |\/| | | _   /_\  makes it
Bitnet:   MARKV@UKANVAX		\/\/  /    | |  | | |__| /   \ possible...
Internet: markv@kuhub.cc.ukans.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <24613.26651018@kuhub.cc.ukans.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wuarchive!kuhub.cc.ukans.edu!markv
References: <2196@dsacg3.dsac.dla.mil>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wuarchive!kuhub.cc.ukans.edu!markv
From: markv@kuhub.cc.ukans.edu
Newsgroups: comp.sys.amiga.tech
Subject: Re: A68k vs Lattice 'C'
Message-ID: <24613.26651018@kuhub.cc.ukans.edu>
Date: 31 May 90 17:37:44 GMT
References: <2196@dsacg3.dsac.dla.mil>
Organization: University of Kansas Academic Computing Services
Lines: 33