Article View: comp.sys.amiga.tech
Article #2301Re: Stand-alone Assembly for Manx AS
From: Allan Duncan
Date: Wed, 22 Nov 1989 05:33
Date: Wed, 22 Nov 1989 05:33
21 lines
1668 bytes
1668 bytes
From article <4530@blake.acs.washington.edu>, by dlarson@blake.acs.washington.edu (Dale Larson):
> I've done very littel assembly code on the 68000 and am going through
> Leventhal, et. al.'s book. My assembler is Manx's as. I cannot seem
> to get stand-alone programs to work well. If anyone has any fairly small
The Manx as is only intended as a back-end for the compiler. It has
some "interesting" properties - one that comes to mind is its treatment
of data - the order that STORAGE is allocated in is the order that the
symbols are first encountered in the source file, so that a structure
that you carefully set up in the data section (that most people put at
the end of the source) will be thoroughly scrambled. References by
offset will FAIL. Fix is to put the DATA section before the CODE
section, so that your structures are seen first.
Can't think of any others off-hand. Will get CAPE when I remember to
order it. (It gets complicated buying in a Goverment agency when the
cheapest way is to buy direct overseas).
Allan Duncan ACSnet aduncan@rhea.trl.oz
ARPA aduncan%rhea.trl.oz.au@uunet.uu.net
UUCP {uunet,hplabs,ukc}!munnari!rhea.trl.oz.au!aduncan
Telecom Research Labs, PO Box 249, Clayton, Victoria, 3168, Australia.
Technical Details
Message-ID:
<828@trlluna.trl.oz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!usc!samsung!munnari.oz.au!bruce!trlluna!rhea.trl.oz.au!aduncanReferences:
<4530@blake.acs.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!usc!samsung!munnari.oz.au!bruce!trlluna!rhea.trl.oz.au!aduncan From: aduncan@rhea.trl.oz.au (Allan Duncan) Newsgroups: comp.sys.amiga.tech Subject: Re: Stand-alone Assembly for Manx AS Message-ID: <828@trlluna.trl.oz> Date: 22 Nov 89 05:33:53 GMT References: <4530@blake.acs.washington.edu> Sender: root@trlluna.trl.oz Lines: 21