[comp.sys.amiga] BASIC calling assembler?

urjlew@ecsvax.UUCP (Rostyk Lewyckyj) (08/05/87)

 [Its got to be somewhere? no?]
Where in the manuals available from Commodore can I find a
comprehensive yet clear description of the linkage mechanisms
for calling assembler subroutinses from an Amiga BASIC program.
  
I want to know the usual kinds of things:
What does the assembler routine need to save?
Is there a convention about where this material is saved and
in what order,form?
How does the assembler routine receive and return arguments?
How does the BASIC routine pass arguments?
What are the data representations for various classes of variables?:
 - arithmetic variables
 - character variables
 - location variables: of statements, of screen locations, etc
 - arrays of various types of data
  
If not in manuals from C=, then is this information to be found
in some other published form, perhaps in some book or magazine
article.
8-( I am however not willing to purchase the source for Amiga
BASIC or something like a commercial license for LATTICE C,
to obtain this information 8-) -) -). A $20 book which includes
this along with other similarly usefull info would be bearable.
Some examples would also be mighty helpful.
--
  Reply-To:  Rostyslaw Jarema Lewyckyj
             urjlew@ecsvax.UUCP ,  urjlew@tucc.bitnet
  or post to comp.sys.amiga. Others may also be interested