[comp.sys.amiga.tech] Lattice 4.0 assembler query

chas@gtss.UUCP (Charles Cleveland) (09/06/88)

The first line in the file memsup.a in directory Examples on disk 2
of the Lattice 4.0x compiler is

	csect	text,0,,1,2

Would someone explain the fields in this sucker?  I understand 'csect text'
to be a version of a section directive suitable for insuring that the
subsequent code will be placed with C-code during linking (if the -s
option is used).  Or so it says in Lattice's manual.  Perhaps the 0 is
some code for the type (choose between CODE, DATA, BBS, etc), presumably
CODE in this case.  The rest of the arguments are unmentioned.  I have
called Lattice support and asked about section directives and the person
on the phone just said to read the Macro Assembler in Bantam's AmigaDos
Manual.  I thought I had.  Guess the old mind is starting to go.  Some PD
assemblers I have documentation for take an argument after the section
type indicating the type of memory the hunk should be loaded into (CHIP,
FAST, or maybe PUBLIC), but even assuming this is true here, which does
the ,, stand for (my guess is PUBLIC, but then I'm already guessing what
the field is)?  And the above line has two additional undocumented
arguments.

Could someone please help me out?
-- 
-  It is better for civilization to be going down the drain than to be  -
-  coming up it.                                        -- Henry Allen  -
Charles Cleveland  Georgia Tech School of Physics  Atlanta, GA 30332-0430
UUCP: ...!gatech!gtss!chas          INTERNET:  chas@ss.physics.gatech.edu